Formula Help

Formulahelp

New Member
Joined
Jul 3, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello,
Can anyone tell me if this is possible?
Current Situation: I have a chart similar to cells B1:U3. However, I only have to populate the chart one month at a time so I just make a copy of the existing month and paste it to a new column. For example, in April, the columns only go to Column O. After April, I copy Column O and create May in Column P. At that time, my offset formula in Column S works to show the difference from May to April.

However, I would like to know if it is possible to already create a template with all of the months and just fill in the appropriate month as needed. I will still need to calculate the difference from current month to previous month. However, is it possible to set up a formula in Column S that will automatically calculate the last month populated minus the previous month populated? If so, what would the formula look like? See image below for additional details. Thank you in advance for your help.


Month on Month Formula Help.png
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Welcome to the forum

I think what you are asking can be done. Share XL2BB of the sample sheet to help you better

Use the link below to find details on how to install 👇
 
Upvote 0
Would this work for you:

Excel Formula:
=LET(
array,C16:Q16,
INDEX(array,,XMATCH(TRUE,ISBLANK(array))-1)-INDEX(array,,XMATCH(TRUE,ISBLANK(array))-2))

Excel Formula:
=INDEX(C16:Q16,,XMATCH(TRUE,ISBLANK(C16:Q16))-1)-$C$16
 
Upvote 0
Would this work for you:

Excel Formula:
=LET(
array,C16:Q16,
INDEX(array,,XMATCH(TRUE,ISBLANK(array))-1)-INDEX(array,,XMATCH(TRUE,ISBLANK(array))-2))

Excel Formula:
=INDEX(C16:Q16,,XMATCH(TRUE,ISBLANK(C16:Q16))-1)-$C$16
Sofia,
Oh my gosh!!!!!! These formulas worked perfect. I cannot thank you enough for your help.
Very much appreciated.
Have a nice day!!
 
Upvote 0

Forum statistics

Threads
1,224,816
Messages
6,181,141
Members
453,021
Latest member
Justyna P

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