Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jeff
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jeff
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
DKennedy
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max
 
Posts: n/a
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Date Formula Robyn Bellanger Excel Discussion (Misc queries) 2 December 17th 04 07:25 PM
Date formula Robyn Bellanger Excel Discussion (Misc queries) 2 December 16th 04 12:41 AM
Formula to determine a future date based on criteria David Excel Worksheet Functions 2 December 15th 04 07:51 PM
Need help troubleshooting an array formula XLXP on Win2K KR Excel Worksheet Functions 1 December 13th 04 07:41 PM


All times are GMT +1. The time now is 10:11 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"