Forum

Velouria
@debaser
Moderator
Member
Joined: Nov 1, 2018
Last seen: May 22, 2025
Topics: 0 / Replies: 838
Reply
RE: Search and mark

Since your data appears to be sorted on column A, perhaps this formula in C3: =IF(OR(A3=A2,A3<>A4),"",IF(COUNTIFS($A4:$A$4914,A3,$B4:$B$...

5 years ago
Forum
Reply
RE: Advanced Filter for Months

By the sounds of it, you want a formula for the criteria, in which case you don't want the criteria header cell to match any columns (better to leave ...

6 years ago
Forum
Reply
RE: Mouse left click on a shape should select the cell underneath the cursor

Unfortunately, the Window.RangeFromPoint method seems to return the shape rather than the range underneath but if you can work with a slightly hacky w...

6 years ago
Forum
Reply
RE: Calculate average in Power Pivot (or Power Query?) - Office365

They're not the most flexible things, but can be handy on occasion. 🙂

6 years ago
Forum
Reply
RE: VBA required to auto save excel file on current users desktop and open an email with file attached in one step

You can get the desktop path using: createobject("Wscript.Shell").specialfolders("desktop") so you could use: dim savedFile as...

6 years ago
Forum
Reply
RE: Calculate average in Power Pivot (or Power Query?) - Office365

What you could do with a Power Pivot PT is to create a measure to average the monthly totals (eg =AVERAGEX(values(Table_after_Power_Query[month]),[Tot...

6 years ago
Forum
Reply
RE: Conditional formatting via VBA does not apply any formatting

Try this: Sub Macro1() ' ' Macro1 Macro ' ' Dim Colour Colour = ActiveCell.Interior.Color Application.ScreenUpdating = False With Range("B5...

6 years ago
Forum
Reply
RE: Count - Based on cells format

In my opinion, you'd be better off rethinking your approach. Formatting should reflect data, not be used as data.

6 years ago
Reply
RE: add up consecutive days of illness

Hi Nadine, That part works out the number of days between the end date of one row and the start date of the next row, assuming the employee id is t...

6 years ago
Reply
RE: Return names

This array formula is slightly shorter, but very dependent on the layout of the source data sheet! (Must start in row 1, and be 5x3 blocks with a blan...

6 years ago
Reply
RE: add up consecutive days of illness

If your data is sorted like the sample, and you don't mind the consecutive totals appearing at the end of the sequence rather than the start, you coul...

6 years ago
Reply
RE: Countifs formula

I don't give out contact info, I'm afraid. As I mentioned before, you cannot use more than two arrays in a formula like this. I would suggest ...

6 years ago
Reply
RE: How to pick up the new line added?

If you're trying to only pick up the new data as a pivot table, you can't do that, since the headers aren't adjacent to the data.

6 years ago
Forum
Reply
RE: Countifs formula

You can't use three criteria arrays (assuming you want all possible combinations) like that. Are there other options in column F that begin with "Trad...

6 years ago
Reply
RE: Using the new Dynamic Array Functions within VBA

If you're trying to use Worksheetfunction.Filter, the second argument needs to be an array of True/False values and oriented the correct way (ie if yo...

6 years ago
Forum
Page 47 / 56