Forum

Velouria
@debaser
Moderator
Member
Joined: Nov 1, 2018
Last seen: Jun 12, 2026
Topics: 0 / Replies: 841
Reply
RE: Comparing the same list over different days

You could use a formula like: =IFERROR([@State]<>LOOKUP(2,1/([@Name]=$A$1:$A1),$B$1:$B1),FALSE) which will return TRUE if the current stat...

7 years ago
Reply
RE: After a macro pastes a cell with the =NOW() date function from an invoice sheet into a report sheet, how do I keep the original pasted date?

Replace all the code you posted with this: With Sheet3 erow = .Cells(.Rows.Count, 1).End(xlUp).Row .Cells(erow, 5).Value = Sheets("Invoice").Range(...

7 years ago
Forum
Reply
RE: Delete a string that repeats a second time in a cell matching a string in another cell.

If it's always at the end with a space preceding it, you could also use: =SUBSTITUTE(A1," "&B1,"")

7 years ago
Reply
RE: Multiply separately four cells by one cell, and repeat with rest

As Phil said, your workbook doesn't seem to match your requirement, but you can multiply by: INDEX(B:B,INT((ROW()-3)/4)+1) which will ...

7 years ago
Reply
RE: COUNTIFS return if true but omit the filter if false

It looks like you could use: +(IF('Buy and Sell Criteria'!$D$33="",1,'IA Asia Pacific Ex Japan RAW'!$AN$2:$AN$300='Buy and Sell Criteria'!$D$3...

7 years ago
Reply
RE: SUMIFS in Pivot Tables

For example: =GETPIVOTDATA("Sum of Total APCs",Sheet1!$B$6,"Maps To","Other","APC Group",LEFT(K11,2)+0,"APC Group Name","Emergency Services","Month...

7 years ago
Reply
RE: kernel32 issue

I'd guess it's taking longer than the 30s you specified for a timeout. I get Found when I run it.

7 years ago
Forum
Reply
RE: kernel32 issue

Change the declarations section to: #If VBA7 Then Public Declare PtrSafe Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) Public Declar...

7 years ago
Forum
Reply
RE: How do you Exclude 0

I'd have guessed the 0s were in column F, so: =AVERAGEIFS(F$4:F$158,$E$4:$E$158,$C160,F$4:F$158,"<>0")

7 years ago
Reply
RE: GETPIVOTDATA dynamic reference from external connections

Assuming the cell A1 just contains North America, or Latin America, you can use: =GETPIVOTDATA("[Measures].[Unit Qty]",'a) EGI '!$A$9,"[WW Det...

7 years ago
Reply
RE: Reward increasing once certain level hit

The basic gist is: =MIN(sales,1000)*50+MAX(0,sales-1000)*100

7 years ago
Reply
RE: questions on making a function for counting prime number between n1 to n2

Prime(i) will return True if the number i is prime. In VBA true is equivalent to -1 and False is equivalent to 0, so subtracting the result of the Pri...

7 years ago
Forum
Reply
RE: Update a cell automatically when changes are made to spreadsheet

Do you want any manual change to increase the version number by 1 and update the date to the current date? If so, open the VB Editor (Alt+f11), locate...

7 years ago
Reply
RE: COUNTIFS doesn't work another option is welcomed

Try this: =SUMPRODUCT(('Planning congés_2019'!$C$16:$C$40=$A4)*('Planning congés_2019'!$D$16:$D$40=$B4)*(TEXT('Planning congés_2019'!$L$15:$NL...

7 years ago
Reply
RE: _XLFN ERROR Appears in front of a function

Since your last two criteria are just returning "", all you need is this: =IF(B8<'Fill up & Results'!$B$15;IF(H9<2300; 64/H9;IF(H9&g...

7 years ago
Page 51 / 57
0