LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.misc
WIJ WIJ is offline
external usenet poster
 
Posts: 6
Default Nested IF statement

Thanks for your answers, Biff it worked I just had to change
"VLOOKUP(HOURS!D19,ADMINISTRATION!$A$2:$B$10,2,4), " to
"VLOOKUP(HOURS!D12,ADMINISTRATION!$A$2:$B$10,2,4), . (My mistake to start with)

And T. Valko, I have delibratly missed "IF(HOURS!C12)=3". thanks for picking
it up though.

WIJ


"T. Valko" wrote:

I notice you're missing "IF(HOURS!C12)=3".

Is that intentional?

--
Biff
Microsoft Excel MVP


"WIJ" wrote in message
...
Hi all,

This is the first time I have posted on here.. I am trying to make up the
following nested IF staement (I am drawing alot of information from a
database). It all works for me exept for the last nested If statement
line(Administration). I dont know why this is as I have followed the same
procedues as the other lines...I not sure if this makes sense or not.

=IF(HOURS!C12=0,VLOOKUP(HOURS!D12,PROJECTS!$A$2:$B $25,2),
IF(HOURS!C12=1,VLOOKUP(HOURS!D12,SYSTEMS!$A$2:$B$1 27,2),
IF(HOURS!C12=2,VLOOKUP(HOURS!D12,SYSTEMS!$A$2:$B$1 27,2),
IF(HOURS!C12=4,VLOOKUP(HOURS!D12,SYSTEMS!$A$2:$B$1 27,2),
IF(HOURS!C12=5,VLOOKUP(HOURS!D12,SYSTEMS!$A$2:$B$1 27,2),
IF(HOURS!C12=6,VLOOKUP(HOURS!D12,SYSTEMS!$A$2:$B$1 27,2),
IF(HOURS!C12=7,VLOOKUP(HOURS!D12,MajorTasks!$A$2:$ B$3,2),
IF(HOURS!C12=8,VLOOKUP(HOURS!D19,ADMINISTRATION!$A $2:$B$10,2,4),
NOT IN DATABASE))))))))




.

 
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
If then nested statement Carter Excel Worksheet Functions 7 January 15th 09 03:46 AM
IF OR NESTED STATEMENT SuperBee Excel Discussion (Misc queries) 10 March 1st 08 05:31 AM
Nested IF/OR/AND statement Gayla Excel Discussion (Misc queries) 0 June 20th 07 07:46 PM
Nested IF/AND Statement buffgirl71 Excel Discussion (Misc queries) 1 October 10th 06 01:59 AM
Nested IF/AND Statement buffgirl71 Excel Discussion (Misc queries) 5 October 10th 06 01:07 AM


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