how to create a formula to take the most recent entry in a series of rows and calculate the difference between that and a static cell

rose1

New Member
Joined
Jul 2, 2022
Messages
4
Office Version
  1. 2019
Platform
  1. MacOS
Hello,
I have searched everywhere and I can't figure out how to create a formula for the following situation.
I have a series of values (or blank due to a new time not being achieved) in C2-K2. I need cell M2 to be the difference between the most recent cell with a value in C2 - K2 (C2-K2 are months in a year with their correlating times) and L2. L2 is a static value that I need to know how close we are to achieving that number (M2).

I hope this is understandable and thank you all very much in advance for any help you can give.

If I can clarify, please let me know.
L
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
To get the most recent cell value:
=LOOKUP(2,1/(C2:K2<>""),C2:Thank you for your help with this. This gets me part of the way there. I need M2 to be the difference between the value in L2 and the most recent cell value in C2-K2.
 
Upvote 0
Thank you for your help with this. This gets me part of the way there. I need M2 to be the difference between the value in L2 and the most recent cell value in C2-K2.
Thank you for your help with this. This gets me part of the way there. I need M2 to be the difference between the value in L2 and the most recent cell value in C2-K2.
ex. M2=L2 - (most recent value in C2 through K2)
Thank you again for your help
 
Upvote 0
Thank you for your help with this. This gets me part of the way there. I need M2 to be the difference between the value in L2 and the most recent cell value in C2-K2.
ex. M2=L2 - (most recent value in C2 through K2)
Thank you again for your help
CORRECTION
I need M2 to be the difference between the value in L2 and the LOWEST (these are times) cell value in C2-K2.
ex. M2=L2 - (lowest value in C2 through K2)
Thank you again for your help
 
Upvote 0

Forum statistics

Threads
1,214,830
Messages
6,121,835
Members
449,051
Latest member
excelquestion515

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