Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
mtaylor
 
Posts: n/a
Default Selecting data within a date range


Can you please help!?

I have numerical data within 3 cells x,y & z

I then have a separate cell (a) which i need to display either the info
in cells x,y & z depending on the date.

For example:-
I need the info in cell x to be displayed in cell 'a' between 01/09/05
and 10/09/05
I need the info in cell y to be displayed in cell 'a' between 11/09/05
and 13/09/05
I need the info in cell z to be displayed in cell 'a' between 14/09/05
and 19/09/05

The date the sheet is accessed (TODAY) will determine what info is
displayed in cell 'a'.

Is it possible to create a formula for this?

Thanks


--
mtaylor
------------------------------------------------------------------------
mtaylor's Profile: http://www.excelforum.com/member.php...o&userid=26871
View this thread: http://www.excelforum.com/showthread...hreadid=401084

  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

I am not sure what cell you want to test to be between those dates, so I
have assumed B1 in this formula

=IF(B1<=TODAY()+9,X1,IF(B1<=TODAY()+12,Y1,IF(B1<=T ODAY()+18,Z1,"")))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"mtaylor" wrote in
message ...

Can you please help!?

I have numerical data within 3 cells x,y & z

I then have a separate cell (a) which i need to display either the info
in cells x,y & z depending on the date.

For example:-
I need the info in cell x to be displayed in cell 'a' between 01/09/05
and 10/09/05
I need the info in cell y to be displayed in cell 'a' between 11/09/05
and 13/09/05
I need the info in cell z to be displayed in cell 'a' between 14/09/05
and 19/09/05

The date the sheet is accessed (TODAY) will determine what info is
displayed in cell 'a'.

Is it possible to create a formula for this?

Thanks


--
mtaylor
------------------------------------------------------------------------
mtaylor's Profile:

http://www.excelforum.com/member.php...o&userid=26871
View this thread: http://www.excelforum.com/showthread...hreadid=401084



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
Filter By Date Range AcesUp Excel Discussion (Misc queries) 3 August 23rd 05 09:13 PM
Pivot Table - max rows allowed in data range dmotika Excel Discussion (Misc queries) 2 May 26th 05 05:52 PM
adding occurrences for date range Mike Excel Discussion (Misc queries) 0 April 11th 05 05:24 PM
adding occurrences for date range Mike Excel Discussion (Misc queries) 0 April 8th 05 11:33 PM
Extending a Chart Data Series from an Array - Can it be done? Jon Peltier Charts and Charting in Excel 4 November 30th 04 03:30 AM


All times are GMT +1. The time now is 09:27 PM.

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

About Us

"It's about Microsoft Excel"