Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
centraloffice
 
Posts: n/a
Default Excel: how to formulate conditional cell references

would like to build a cell that contains the contents of a series of cells on
a different worksheet depending on a selection criteria:
Example: On Sheet 2 Cell D23:
If January, cell will contain a reference to Sheet1 cell A5
If February, cell will contain a reference to Sheet 1 cell B5
etc.
  #2   Report Post  
Dave R.
 
Posts: n/a
Default

You can take advantage of the fact that January is month 1, feb is month 2,
etc.

Say A1 = 1/1/2004 (january month =1)

Here is one way of going about it;

=INDIRECT(ADDRESS(5,MONTH($A$1)))


"centraloffice" wrote in message
...
would like to build a cell that contains the contents of a series of cells

on
a different worksheet depending on a selection criteria:
Example: On Sheet 2 Cell D23:
If January, cell will contain a reference to Sheet1 cell A5
If February, cell will contain a reference to Sheet 1 cell B5
etc.



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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Conditional formatting not available in Excel BAB Excel Discussion (Misc queries) 2 January 1st 05 03:33 PM
Copy Word table into Excel cell by cell hg Excel Discussion (Misc queries) 3 December 15th 04 04:43 PM
Paste rows of numbers from Word into single Excel cell BecG Excel Discussion (Misc queries) 1 December 8th 04 04:55 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 08:01 AM.

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"