A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Look Up



 
 
Thread Tools Display Modes
  #1  
Old June 17th, 2009, 08:03 AM posted to microsoft.public.excel.worksheet.functions
Youngy5
external usenet poster
 
Posts: 1
Default Look Up

Hi

I want to know if i can combine the following two formulas into one. I have
two spreadsheets in the same work book. I want column B of spreadsheet 2 to
compare with column B of spreadsheet 1 to see if the code exists. If the
code exists i want comment located in column E of spreadsheet 1 to show in
column E of spreadsheet 2. Make sense?

=VLOOKUP(B1,'9-6-09'!B:B,1,FALSE)

=IF(E1='9-6-09'!B1,'9-6-09'!E1,"null")

Thanks
  #2  
Old June 17th, 2009, 08:21 AM posted to microsoft.public.excel.worksheet.functions
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default Look Up

Try the below and feedback

=IF(ISNA(VLOOKUP(B1,'9-6-09'!B:E,4,FALSE)),"Null",VLOOKUP(B1,'9-6-09'!B:E,4,FALSE))

OR using MATCH()

=IF(ISNA(MATCH(B1,'9-6-09'!B:B,0)),"Null",INDEX('9-6-09'!E:E,MATCH(B1,'9-6-09'!B:B,0))

If this post helps click Yes
---------------
Jacob Skaria


"Youngy5" wrote:

Hi

I want to know if i can combine the following two formulas into one. I have
two spreadsheets in the same work book. I want column B of spreadsheet 2 to
compare with column B of spreadsheet 1 to see if the code exists. If the
code exists i want comment located in column E of spreadsheet 1 to show in
column E of spreadsheet 2. Make sense?

=VLOOKUP(B1,'9-6-09'!B:B,1,FALSE)

=IF(E1='9-6-09'!B1,'9-6-09'!E1,"null")

Thanks

  #3  
Old June 17th, 2009, 09:31 AM posted to microsoft.public.excel.worksheet.functions
Pete_UK
external usenet poster
 
Posts: 8,780
Default Look Up

Put this in E1 of sheet2:

=IF(ISNA(MATCH(B1,'9-6-09'!B:B,0)),"not present","present")

then copy down.

Hope this helps.

Pete

On Jun 17, 8:03*am, Youngy5 wrote:
Hi

I want to know if i can combine the following two formulas into one. *I have
two spreadsheets in the same work book. *I want column B of spreadsheet 2 to
compare with column B of spreadsheet 1 to see if the code exists. *If the
code exists i want comment located in column E of spreadsheet 1 to show in
column E of spreadsheet 2. *Make sense?

=VLOOKUP(B1,'9-6-09'!B:B,1,FALSE)

=IF(E1='9-6-09'!B1,'9-6-09'!E1,"null")

Thanks


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:53 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.