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

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
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,215,482
Messages
6,125,058
Members
449,206
Latest member
Healthydogs

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