Forum

Notifications
Clear all

Excel Formula to Spread Income or Costs Over Months

3 Posts
2 Users
0 Reactions
226 Views
(@preston-r-smith1)
Posts: 2
New Member
Topic starter
 

I'm attempting to replicate what Mynda did in this article:  Excel formula to spread income or costs over months, but I'm referencing a table and getting $0 where there should be a sum, and a #VALUE error where the should be $0.

 

Any thoughts?

 
Posted : 22/12/2022 9:35 am
Riny van Eekelen
(@riny)
Posts: 1201
Member Moderator
 

Hi Preston,

First of all I suggest you read Mynda's blog on absolute references within structured tables.

Excel table absolute structured references

Then, be aware that a header like "Jan-23" in a structured table is a plain text, even when you initially entered them as a real date and than transformed the range to a table. So, you can't use them in functions that depend on date intelligence. That's why you get the zero's.

In the attached file, I have added a row above the table containing real "beginning of the month" dates. I used absolute table references where needed and wrapped the lot in IFERROR to turn VALUE errors into zero's. 

See if you can follow. If not come back here.

Riny

 
Posted : 23/12/2022 7:38 am
(@preston-r-smith1)
Posts: 2
New Member
Topic starter
 

That was very helpful, Riny.  I really appreciate you taking the time to answer that.

 
Posted : 23/12/2022 1:25 pm
Share: