Forum

Velouria
@debaser
Moderator
Member
Joined: Nov 1, 2018
Last seen: May 22, 2025
Topics: 0 / Replies: 838
Reply
RE: ON error for "autofilter" that doesn't match the values in the range

Filtering for a value that isn't there will not cause an error, you just get no data shown. You can test for that by checking there is more than one v...

6 years ago
Forum
Reply
RE: Conditional formatting with formula not working

If you selected the whole of column D, then D1 would be active by default, so your formula should be: "=D1=$Q$3"

6 years ago
Reply
RE: GETPIVOT error when column has no data

You can use IFERROR to return 0 for such cases. You can also use an array of criteria and SUMPRODUCT to test multiple options in the same field - for ...

6 years ago
Reply
RE: Summing up time value from a text formula

Do you mean you actually have the formula =TEXT("0:16","[h]:mm") in the cell? If so, why? It's pointless as it just returns the text already passed as...

6 years ago
Reply
RE: Count Color Background

No, but you've commented out the code in your workbook and merged two lines together. It should look like this: Function CountCcolor(range_data As ...

6 years ago
Forum
Reply
6 years ago
Forum
Reply
RE: A Macro Change and replace an Excel Formula

That's your original code, not mine. Also, as written it only works on whatever cells you have selected when you run it - was that your intention?

6 years ago
Forum
Reply
RE: A Macro Change and replace an Excel Formula

You'll need to handle the * wildcard by replacing it with ~* like this: Sub replaceText() What = replace(InputBox("Word to search"), "*", "...

6 years ago
Forum
Reply
RE: Comparing the same list over different days

You've got REF errors in that sample. Can you fix and re-post?

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

I think you'd need to use something like this as the criterion: IF('Buy and Sell Criteria'!$D$33="",{"*","="},'Buy and Sell Criteria'!$D$33) ...

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

If you actually have blanks in AN (which your current formula won't actually pick up) that's a little trickier. Do you have blanks? What kind of data ...

6 years ago
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...

6 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(...

6 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,"")

6 years ago
Page 50 / 56