Reference new cell based on Today

advsign

New Member
Joined
Jul 12, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello,
I have a production report to capture totals made for the day, each day, each date. I currently have to change the cell reference manually each day myself.

I would like to have the daily Total cell referenced based off of the =Today, so I don't have to do the daily manual cell references.

Thanks,
 

Attachments

  • 2023-07-12 06_52_17-Production Sample - Excel.png
    2023-07-12 06_52_17-Production Sample - Excel.png
    36.8 KB · Views: 8

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Hi & welcome to MrExcel.
How about
Excel Formula:
=xlookup(today(),a2:a100,b2:b100)
 
Upvote 0
Maybe this?

Book1
ABCDE
1datedate
27/1/20231888
37/2/20232888
47/3/20233
57/4/20234
67/5/20235
77/6/20236
87/7/20237
97/8/20238
107/9/20239
117/10/202310
127/11/202311
137/12/2023888
147/13/202313
157/14/2023
167/15/2023
177/16/2023
187/17/2023
197/18/2023
207/19/2023
21#######
Sheet1
Cell Formulas
RangeFormula
E2E2=XLOOKUP(TODAY(),A:A,B:B)
E3E3=INDEX(B:B,MATCH(TODAY(),A:A),0)
 
Upvote 0
Getting there. Sorry the first post should have said referencing the day before date, not today.

Example: 06:00 today 07/12, I need to do a report for the date of yesterday 7/11

Thanks
 
Upvote 0
In that case you can use
Excel Formula:
=xlookup(today()-1,a2:a100,b2:b100)
Do the values in col A contain a time & date, or just date?
 
Upvote 0

Forum statistics

Threads
1,215,160
Messages
6,123,355
Members
449,097
Latest member
thnirmitha

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