Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50121

Prevent calculation from changing

$
0
0
I have another problem and you guys and gals are so helpful. I have a cell that I only want to calculate the data just once. Lets say it is cell AA1. When a date is entered in Cell B1, I want to find the find the minimum number between cell A5,A6,A7,A8. These four numbers are always changing as data is being entered through the day, but at certain time, cell B1, needs to look at the current valves in A5,A6,A7,A8 and find the minimum number. I think this will have to be done by a VBA, which I know very little about.

Time Enter Changing Data Cell that finds the minimum number for this time in B1

B1 a5,a6,a7,a8 AA1 ( needs to hold value (A5-A8) and not change, based on data entered in the row for B1 and moves down as new data is entered)
B2 a5,a6,a7,a8 AA2 "" ""
B3 a5,a6,a7,a8 AA3 "" ""

A5-A8 is always changing as data is entered.

As data on row, B1 is completed, cell AA1 finds the minimum number between cell A5-A8, than when data is entered on row 2 or cell B2, AA2 finds the minimum number in A5-A8. This will go on for the next 22 rows.

So, when a time is entered in the Time Enter Column, I want to find the minimum number for that time line and not change when the next time data is entered on the next row. I hope you can see what I am trying to do here.
I have looked at using a if statement testing "Time Enter" but my formula is always changes the data AA1, AA2, AA3, to the most current numbers in A5-A8..

Thanks for you help
Ted

Viewing all articles
Browse latest Browse all 50121