Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
SunnyM
 
Posts: n/a
Default Help with Vlookup and If Statements


Hey everyone,

I'm stuck with this formula:

=IF(C7="Ireland",VLOOKUP(A7,Data_Ireland,2,FALSE), IF(C7="Regions",VLOOKUP(A7,Data_Regions,2,FALSE),I F(C7="Corporate",VLOOKUP(A7,Data_Corporate,2,FALSE ),"")

I've spent 4 hours on it trying to get it to work but it keep telling
me i'm missing a parenthesis. So after 4 hours of being in the same
situation as i started i've decided to ask the experts, Any ideas
anyone?

Thanks for all your help with this it's very much appreciated,

Sunny


--
SunnyM
------------------------------------------------------------------------
SunnyM's Profile: http://www.excelforum.com/member.php...o&userid=31333
View this thread: http://www.excelforum.com/showthread...hreadid=510137

  #2   Report Post  
Posted to microsoft.public.excel.misc
sp3cialist
 
Posts: n/a
Default Help with Vlookup and If Statements

Tricking to tell without seeing the data but try adding another ) to the end
of the formula.

"SunnyM" wrote:


Hey everyone,

I'm stuck with this formula:

=IF(C7="Ireland",VLOOKUP(A7,Data_Ireland,2,FALSE), IF(C7="Regions",VLOOKUP(A7,Data_Regions,2,FALSE),I F(C7="Corporate",VLOOKUP(A7,Data_Corporate,2,FALSE ),"")

I've spent 4 hours on it trying to get it to work but it keep telling
me i'm missing a parenthesis. So after 4 hours of being in the same
situation as i started i've decided to ask the experts, Any ideas
anyone?

Thanks for all your help with this it's very much appreciated,

Sunny


--
SunnyM
------------------------------------------------------------------------
SunnyM's Profile: http://www.excelforum.com/member.php...o&userid=31333
View this thread: http://www.excelforum.com/showthread...hreadid=510137


  #3   Report Post  
Posted to microsoft.public.excel.misc
Kevin Vaughn
 
Posts: n/a
Default Help with Vlookup and If Statements

It really is as simple as that. However, to get your full money's worth, I
created an alternative formula for you (the original poster (oh, that's where
they get OP from!)

=VLOOKUP(A7, CHOOSE(MATCH(C7,
{"Ireland","Regions","Corporate"},0),Data_Ireland, Data_regions,Data_corporate),2,FALSE)
--
Kevin Vaughn


"sp3cialist" wrote:

Tricking to tell without seeing the data but try adding another ) to the end
of the formula.

"SunnyM" wrote:


Hey everyone,

I'm stuck with this formula:

=IF(C7="Ireland",VLOOKUP(A7,Data_Ireland,2,FALSE), IF(C7="Regions",VLOOKUP(A7,Data_Regions,2,FALSE),I F(C7="Corporate",VLOOKUP(A7,Data_Corporate,2,FALSE ),"")

I've spent 4 hours on it trying to get it to work but it keep telling
me i'm missing a parenthesis. So after 4 hours of being in the same
situation as i started i've decided to ask the experts, Any ideas
anyone?

Thanks for all your help with this it's very much appreciated,

Sunny


--
SunnyM
------------------------------------------------------------------------
SunnyM's Profile: http://www.excelforum.com/member.php...o&userid=31333
View this thread: http://www.excelforum.com/showthread...hreadid=510137


  #4   Report Post  
Posted to microsoft.public.excel.misc
SunnyM
 
Posts: n/a
Default Help with Vlookup and If Statements


thanks Lads much appreciated, have read up on the choose function and
didn't realise the function existed,

thanks again you guys much appreciated


--
SunnyM
------------------------------------------------------------------------
SunnyM's Profile: http://www.excelforum.com/member.php...o&userid=31333
View this thread: http://www.excelforum.com/showthread...hreadid=510137

  #5   Report Post  
Posted to microsoft.public.excel.misc
Kevin Vaughn
 
Posts: n/a
Default Help with Vlookup and If Statements

I've seen it used here (in this newsgroup,) so decided to see if I could get
it to work, and I could.
--
Kevin Vaughn


"SunnyM" wrote:


thanks Lads much appreciated, have read up on the choose function and
didn't realise the function existed,

thanks again you guys much appreciated


--
SunnyM
------------------------------------------------------------------------
SunnyM's Profile: http://www.excelforum.com/member.php...o&userid=31333
View this thread: http://www.excelforum.com/showthread...hreadid=510137


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
can I use =if with vlookup statements suzyque Excel Worksheet Functions 12 January 31st 06 04:48 PM
Vlookup and if statements memac19 New Users to Excel 2 October 21st 05 12:53 AM
VLOOKUP + IF STATEMENTS Excel Discussion (Misc queries) 6 April 1st 05 08:43 AM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
VLOOKUP statements Jennifer Kramer Excel Discussion (Misc queries) 1 January 20th 05 05:51 AM


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