Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Value returned from Formula changes with the Date
I have an issue and I am not quite sure how to solve it.
I have a table, for the purposes of this example Column #1 = Names of People Column #2 = Value I am looking for Row #1 = Date Values 12/1, 12/2 etc. Rows 2-10 values 46,50,60 etc. I would like a formula that based on todays date return the value in the column associated to that date to column #2 the expected result would be that on Day 1 Column 3 = 12/1 values in Column 3 are the values displayed in Column 2 On Day 10 Column 13 = 12/10 and values from column 10 are the values displayed in column 2 without any interaction from me, the lazy user. Using the Today() function to set the day to look for seems right but I can't get the rest. Thanks -- Jeff |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Value returned from Formula changes with the Date
One way,
In B1: =TODAY() Select B2:B10 Put in the formula bar, and array-enter (press CTRL+SHIFT+ENTER): =OFFSET($C$2:$C$10,,MATCH(B1,$C$1:$IV$1,0)-1) B2:B10 will return the required values -- Rgds Max xl 97 --- Singapore, GMT+8 xdemechanik http://savefile.com/projects/236895 -- "Jeff" wrote in message ... I have an issue and I am not quite sure how to solve it. I have a table, for the purposes of this example Column #1 = Names of People Column #2 = Value I am looking for Row #1 = Date Values 12/1, 12/2 etc. Rows 2-10 values 46,50,60 etc. I would like a formula that based on todays date return the value in the column associated to that date to column #2 the expected result would be that on Day 1 Column 3 = 12/1 values in Column 3 are the values displayed in Column 2 On Day 10 Column 13 = 12/10 and values from column 10 are the values displayed in column 2 without any interaction from me, the lazy user. Using the Today() function to set the day to look for seems right but I can't get the rest. Thanks -- Jeff |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Value returned from Formula changes with the Date
Sample construct is available at:
http://cjoint.com/?mudrQhriHr ExtractingColValues_DateCriteria_TODAY_Jeff_wks.xl s -- Rgds Max xl 97 --- Singapore, GMT+8 xdemechanik http://savefile.com/projects/236895 -- |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Value returned from Formula changes with the Date
Max,
Thank you that is just about the most clear and concises explenation I have ever seen. The added demo page goes over and above, thank you very much -- Jeff "Max" wrote: Sample construct is available at: http://cjoint.com/?mudrQhriHr ExtractingColValues_DateCriteria_TODAY_Jeff_wks.xl s -- Rgds Max xl 97 --- Singapore, GMT+8 xdemechanik http://savefile.com/projects/236895 -- |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Value returned from Formula changes with the Date
You're welcome, Jeff !
Thanks for the feedback .. -- Rgds Max xl 97 --- Singapore, GMT+8 xdemechanik http://savefile.com/projects/236895 -- "Jeff" wrote in message ... Max, Thank you that is just about the most clear and concise explanation I have ever seen. The added demo page goes over and above, thank you very much -- Jeff |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Value returned from Formula changes with the Date
I'm hoping you can help me. Please refer to below scenerio.
TITLE % of Budgeted HOURS Completion % PROJECT TOTAL 100.00% 90.00% (the above is updated from 4 other sheets) SIT Test Time Tracker Today 28-Dec-05 [using =now()] Start of Final SIT 9-Jan-06 End of Final SIT 6-Feb-06 [I want Col B and Col C to refernce the "today [=now()]" above and the dates in their respective rows below to capture the "PROJECT TOTAL" information above. I can use "IF" but once the "Today" dates change to the following day the data will be lost and only the currents info will be present. I want to capture historical data to graph. Thanks for your help in advance!] Col A Col B Col C % of Budgeted HOURS Completion % 9-Jan-06 10% 20% 10-Jan-06 30% 40% 11-Jan-06 50% 50% 12-Jan-06 70% 65% 13-Jan-06 85% 75% 14-Jan-06 95% 85% 15-Jan-06 100% 90% 16-Jan-06.... |
#7
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Value returned from Formula changes with the Date
"DKennedy" wrote:
.. I can use "IF" but once the "Today" dates change to the following day the data will be lost and only the current info will be present. I want to capture historical data to graph. Think we would need a subroutine to do the above Formulas can only compute & return values in cells To freeze the values returned would require vba (subroutines) Afraid it's out of my depth to offer you this Perhaps hang around awhile for insights from others versed in vba who might step with something for you. Alternatively, you may wish to put in a new post in .programming. Good luck ! -- Rgds Max xl 97 --- Singapore, GMT+8 xdemechanik http://savefile.com/projects/236895 -- |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Formula Problem - interrupted by #VALUE! in other cells!? | Excel Worksheet Functions | |||
Date Formula | Excel Discussion (Misc queries) | |||
Date formula | Excel Discussion (Misc queries) | |||
Formula to determine a future date based on criteria | Excel Worksheet Functions | |||
Need help troubleshooting an array formula XLXP on Win2K | Excel Worksheet Functions |