Auto updating a cell..

Excel_Gaz

New Member
Joined
Jul 18, 2023
Messages
2
Office Version
  1. 365
Platform
  1. MacOS
  2. Mobile
IMG_1775.pngHi,
I’ve tried to figure this problem out, but I’m at a dead end! I’ve used excel for a long time, but only basic functions. I think I might need a macro to solve the problem, but just incase there’s a function I don’t know about I thought I try posting the problem here first.

I’ve created a simple sheet to try and show the problem I’m facing. Sheet one has 5 columns Date, Time (manually added daily), Amount (manually added daily), Price (manually added daily), Diff (calculated). Columns B, C & D are inputted around the same time daily, give or take 15 minutes.

Sheet two has 4 columns Date (auto shows current date =today() ), Amount (from sheet 1, using =MAX(‘Sheet 1’!C3:C9) ) as the amount only increases in that column), Total (sum of column B x C) and Price. The yellow cell is the cell that I need to display the data from sheet 1 column D, updated daily automatically.

For example at 22:00 on the 16/07/23 sheet 2 Price yellow box will auto show the data from sheet 1 cell D6, then the following day at 22:00 it will change to display sheet 1 D7 and so on.

I’m assuming there’s a simple way of doing this that I’m not aware of!

Any help appreciated,

Gaz
IMG_1775.png
IMG_1775.png

IMG_1775.png
 

Attachments

  • IMG_1774.png
    IMG_1774.png
    240.1 KB · Views: 27

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Welcome to the MrExcel board!

To get the last price from column D of Sheet1, try this in your yellow cell
Excel Formula:
=LOOKUP(9^9,Sheet1!D:D)
 
Upvote 0
Solution
Welcome to the MrExcel board!

To get the last price from column D of Sheet1, try this in your yellow cell
Excel Formula:
=LOOKUP(9^9,Sheet1!D:D)
Thank you so much Peter!! This worked for me.

Just so I understand, what’s the first part 9^9 mean?

Gaz
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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