I need a formula for a budget calendar

Ssparks258

New Member
Joined
Jul 3, 2023
Messages
3
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
I'm looking for some help trying to figure out how to write this formula.

In column J, I want to display a number based on a few conditions:

1. If it is the first of the month, I want to add the rollover amount (cell C38)
2. If it is a Friday, I want add the weekly amount (cell C37)
3. I want to carry down the amount from the cell above in the equation. (Not sure how to make this work with cell J27 being text that I don't want included)
4. I want to deduct any amount from the first table (A27-C34) if the day matches the date from column I.

I can't figure out how to nest these functions within each other to achieve the result I'm looking for.

If anyone has any out how to nest these functions within each can't other suggestions please help. I'm also open to easier ways of achieving the same outcome. Thank you and I hope to hear from someone soon.

image001.png
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
See if this works
Excel Formula:
=IF(DAY($I28)=1,$C$38,SUM($J27,FILTER($C$28:$C$34,$A$28:$A$34=DAY($I28),0),IF(WEEKDAY($I28,2)=5,$C$37,0)))
 
Upvote 0
Another approach:
Excel Formula:
=SUM(J27,$C$38*(DAY(I28)=1)+$C$37*(WEEKDAY(I28)=6)-SUMIFS($C$28:$C$34,$A$28:$A$34,DAY(I28)))
 
Upvote 1
Solution
See if this works
Excel Formula:
=IF(DAY($I28)=1,$C$38,SUM($J27,FILTER($C$28:$C$34,$A$28:$A$34=DAY($I28),0),IF(WEEKDAY($I28,2)=5,$C$37,0)))
I appreciate the time you took with this formula. I tried to apply it today but it seems to be missing the step to deduct any amount if the day has a bill due on it. Thank you so much though.
 
Upvote 0
Another approach:
Excel Formula:
=SUM(J27,$C$38*(DAY(I28)=1)+$C$37*(WEEKDAY(I28)=6)-SUMIFS($C$28:$C$34,$A$28:$A$34,DAY(I28)))
This seems to be working perfectly. Thank you so much for taking your time to write this for me. I tried so many different ways and couldn't get it to work. Thank you again.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,184
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top