LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Strange conditional copying of spread sheet??

Dear all. I have written a conditional to formula which copies a work sheet
(cell by cell) based on which work sheet is currently selected in a drop down
menu in another work sheet (plan). Either data from work sheet st1, st2 or
st3 is copied into the cell.

=IF(LOOKUP(TODAY(),plan!$B$2:$G$2,plan!$B$3:$G$3)= "st1",st1!A1:C10,IF(LOOKUP(TODAY(),plan!$B$2:$G$2, plan!$B$3:$G$3)="st2",st2!A1:C10,IF(LOOKUP(TODAY() ,plan!$B$2:$G$2,plan!$B$3:$G$3)="st3",st3!A1:C10," ")))

This code works, however you may notice that the cell reference to copy to
the single cell is a range of 9 cells if the conditional function 'IF' is
satisfied. I am a bit confused since it is some time since i wrote this code
and did not notice. Now when I try to change the [value if true] from any of
the IF functions to a single cell instead of a rang eof nine cells it does
not work....

Does anyone have an idea what I may have done??


 
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
copying spread sheet Linda Barone Excel Discussion (Misc queries) 2 February 24th 09 07:25 PM
Copying conditional formatting to entire sheet slyguy2183 Excel Discussion (Misc queries) 3 June 10th 08 05:20 AM
Conditional Formatting Precidence when copying to new sheet in 200 MIRA Excel Discussion (Misc queries) 0 April 25th 08 11:43 AM
how do i enter a bull call spread into the options spread sheet ? alvin smith Excel Worksheet Functions 0 November 27th 06 01:23 AM
Strange request Automaticaly send spread sheet as an e-mail Gill Excel Programming 1 December 19th 04 06:30 AM


All times are GMT +1. The time now is 10:55 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"