Use value from one cell based on the date in adjacent cell

doublej41

Board Regular
Joined
Mar 9, 2011
Messages
86
Hi All,

I have what I imagine is a very basic query here.

In column A I have the date and in column J I have a list of numbers, starting at 1 and going up in increments of 1. What I would like to do in cell K2 is take the value from column J that relates to today's date and subtract the value that is calculated cell K1.

So each day the value from column J that is used in the calculation in cell K2 should increase by 1.

This is as far as I have made it, from this all I get is 'False':

=IF($B$3:$B$190=TODAY();$J$3:$J$190-Sheet2!B6)

I hope this makes sense.

Thanks in advance for any help.

Jonathan
 
Last edited:

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Watch MrExcel Video

Forum statistics

Threads
1,129,361
Messages
5,635,812
Members
416,884
Latest member
leeshjay

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
Top