SpreadEveryone: The Fetchland Excel wire

1 lurker | 101 watchers
SPR
Oct 2022
11:36am, 12 Oct 2022
38,502 posts
  •  
  • 0
SPR
To be clear, the max cost day in the month. Yes multiple days could have the same cost.
Oct 2022
12:23pm, 12 Oct 2022
5,201 posts
  •  
  • 0
run free
SPR - can you use PowerPivot? Bring the data into PowerPivot and use the CALCULATE function. I will have a look in the evening after work to see if you've managed to sort it out.

The calculation should be faster and you can use all 40K rows from your data
Oct 2022
12:52pm, 12 Oct 2022
1,830 posts
  •  
  • 0
Bowman πŸ‡ΈπŸ‡ͺ
Anyone good with Excel VBA?
I have done a few things, but now i'm stuck for hours with probable a simple thing for a pro?
Its a script i want to run in Outlook, since outlook rules cannot move emails according to file attachment names.

But i'm stuck.
um
Oct 2022
1:13pm, 12 Oct 2022
6,602 posts
  •  
  • 0
um
Still missing it SPR. Why can't you flag multiple package rows as Oct and then pick the max?

Bowman - this looks to be a macro you could tweak to test for specific content? techniclee.wordpress.com
SPR
Oct 2022
1:34pm, 12 Oct 2022
38,505 posts
  •  
  • 0
SPR
Um - Let's use different words.

Clients have multiple line items, a package is all the line items open at any one time. Therefore all line items open at a point in Oct are only part of the package on a day in Oct if they were open on that specific day. A package is multiple line items, if it wasn't I wouldn't need a sumifs inside a max, it would be a simple maxifs.

run free AFAIK power pivot doesn't use the same formulas so it doesn't seem all that simple without having time to investigate the possibilities in power pivot.
um
Oct 2022
1:47pm, 12 Oct 2022
6,606 posts
  •  
  • 0
um
If you need to track it and then sum it by day, I'd still be tempted to build an array with a column per day populated with the rate per day if the contract/package is active.
Then it's still a simple add and max, rather than 40k (or however many) iterations of multiple index commands.
SPR
Oct 2022
2:06pm, 12 Oct 2022
38,506 posts
  •  
  • 0
SPR
There isn't 40k index commands, the index is in the summary per client. I don't see how having 365 columns to represent each day in the year is a good way to do it and probably won't be any quicker given it would be 365 * 40,000 and then I'd still need to find the day with the max cost across the multiple lines.

The current summary is 13,000 * 12 for the formula that gives me the result I need.
Oct 2022
2:19pm, 12 Oct 2022
1,831 posts
  •  
  • 0
Bowman πŸ‡ΈπŸ‡ͺ
UM, that one might work, i have another one, a little more complex.
But the one you linked, its depending on making a rule triggering that macro, and that function is removed due to security reasons since a while.
Tts possible to change the register, but that involve my IT department at work, so i will try not to go that way.

The issue i now have is that my code doesn't seem to find the "to" folder, and i just cant see why.
Everything else seems to work. Besides a little unsure of when its triggered.
i used this:
datanumen.com

And here are some problems that i have.
forums.slipstick.com
um
Oct 2022
2:29pm, 12 Oct 2022
6,607 posts
  •  
  • 0
um
Bowman - are your folders sub folders of inbox, or peer level folders? Your code (I think) looks like it's trying to move to a subfolder. Is that what you intended?

(noting this is the first time I've read or seen outlook refs in VBA)
Oct 2022
2:32pm, 12 Oct 2022
1,832 posts
  •  
  • 0
Bowman πŸ‡ΈπŸ‡ͺ
Its a subfolder of a folder in the inbox:
Inbox/Outlookdata/callsdaily

About This Thread

Maintained by John66
This is bugging me, I'm sure it should be much easier

A1 has 25/6/2010
B1 has 24/6/2013

So t...

Related Threads

  • excel
  • support
  • tech
  • work








Back To Top

Tag A User

To tag a user, start typing their name here:
X

Free training & racing tools for runners, cyclists, swimmers & walkers.

Fetcheveryone lets you analyse your training, find races, plot routes, chat in our forum, get advice, play games - and more! Nothing is behind a paywall, and it'll stay that way thanks to our awesome community!
Get Started
Click here to join 113,895 Fetchies!
Already a Fetchie? Sign in here