Forum

Velouria
@debaser
Moderator
Member
Joined: Nov 1, 2018
Last seen: Jun 12, 2026
Topics: 0 / Replies: 841
Reply
RE: Extract data based on range of dates and value

Add a column with 1s in it and another column that multiplies the Total Amount column by this new column. Then change N2 to total the multiplication c...

6 years ago
Forum
Reply
RE: Extract data based on range of dates and value

Since you essentially need to test every possible combination of values, you'll need a recursive routine such as the one posted a little over halfway ...

6 years ago
Forum
Reply
RE: Extract data based on range of dates and value

What are the constraints? What if more than one combination adds up to the value in question? (this is a considerably more complicated question than t...

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

6 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
Page 47 / 57
0