LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Steve McBride
 
Posts: n/a
Default Please, need help with multiple "if" conditions

Try this formula:

=IF(ISNA(VLOOKUP(E2,$M$26:$N$45,2)),"",(VLOOKUP(E2 ,$M$26:$N$45,2)))

It will return a blank if it doesn't find a match.

"Ron M." wrote in message
oups.com...
I used the VLOOKUP function and it worked fine. This was my first time
to use it, so I had to hack on it a bit, but I figured it out. One
thing, though: instead of naming the table, I just used the cell range.
The cell range of the table is M26 to N45. So the VLOOKUP formula is:

=(VLOOKUP(E2,$M$26:$N$45,2))

The district number is entered in Column E. The name of the person
assigned to that district appears in Column J, as a result of the
VLOOKUP formula.

This has caused something else, though, that I'm trying to fix. In the
empty rows where no district numbers have been entered yet, I get the
"#N/A" error message in Column J. Since there are still several
thousand empty rows, this looks kinda ugly. Can somebody tell me how
to tweak the formula so the cell in Column J would just stay blank
until a district number is entered in Column E?

Ron M.





 
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
COUNTIF Multiple Conditions Paul Sheppard Excel Discussion (Misc queries) 5 December 28th 05 07:03 PM
Combining Text from multiple cells under multiple conditions KNS Excel Worksheet Functions 2 June 15th 05 11:00 PM
Vlookup with multiple conditions cambrus Excel Worksheet Functions 1 March 11th 05 05:21 PM
SUM based on multiple conditions - SORRY, URGENT!!! marika1981 Excel Worksheet Functions 4 February 18th 05 11:13 AM
How to multiple conditions to validate more than 2 conditions to . Bhuvana Govind Excel Worksheet Functions 1 January 28th 05 07:07 PM


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