Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
jdmas
 
Posts: n/a
Default complex conditional formulas in excel using "IF"

i am trying to create a column in an excel sheet using multiple IF statements
IF the value in sheet5 column B = X, then go to sheet1
IF the value in sheet5 column B = N, then go to sheet2 etc

Then
Find the value in sheetX columnA that equals Sheet5 columnA corresponding to
row of formula

Retrieve the value in sheetX column C and enter it into this cell

Then i want to copy the formula syntax for the enite column in sheet5
  #2   Report Post  
paul
 
Posts: n/a
Default

sounds like if and vlookup will do what you want but you are limited by the
number of ifs
eg=if(b5=x,vlookup(A5,Sheet1!A1:C100,3,false),if(B 5=N,vlookup(A5,Sheet2!A1:C100,3,false),"not x or n"))
--
paul
remove nospam for email addy!



"jdmas" wrote:

i am trying to create a column in an excel sheet using multiple IF statements
IF the value in sheet5 column B = X, then go to sheet1
IF the value in sheet5 column B = N, then go to sheet2 etc

Then
Find the value in sheetX columnA that equals Sheet5 columnA corresponding to
row of formula

Retrieve the value in sheetX column C and enter it into this cell

Then i want to copy the formula syntax for the enite column in sheet5

  #3   Report Post  
Biff
 
Posts: n/a
Default

Hi!

If you created named ranges for "X" and "N", then something like this:

=VLOOKUP(A5,INDIRECT(B5),3,0)

Biff

"paul" wrote in message
...
sounds like if and vlookup will do what you want but you are limited by
the
number of ifs
eg=if(b5=x,vlookup(A5,Sheet1!A1:C100,3,false),if(B 5=N,vlookup(A5,Sheet2!A1:C100,3,false),"not
x or n"))
--
paul
remove nospam for email addy!



"jdmas" wrote:

i am trying to create a column in an excel sheet using multiple IF
statements
IF the value in sheet5 column B = X, then go to sheet1
IF the value in sheet5 column B = N, then go to sheet2 etc

Then
Find the value in sheetX columnA that equals Sheet5 columnA corresponding
to
row of formula

Retrieve the value in sheetX column C and enter it into this cell

Then i want to copy the formula syntax for the enite column in sheet5



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
Warnings when entering formulas in Excel JV15 Excel Discussion (Misc queries) 2 May 13th 05 03:33 PM
Excel Error when copying formulas Joe Gieder Excel Worksheet Functions 2 March 18th 05 05:01 PM
excel 2002 - copying formulas to another worksheet Greg Excel Discussion (Misc queries) 2 January 28th 05 10:23 PM
Conditional formatting not available in Excel BAB Excel Discussion (Misc queries) 2 January 1st 05 03:33 PM
Complex Conditional formulas Aileyan Excel Worksheet Functions 1 November 29th 04 06:32 PM


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