Can the IF function be used with values from multiple worksheets?

G

goosielynn

Hi! I have 2 worksheets. I am trying to get an equation that wil
match values between worksheets and then fill in another column wit
data from the opposite worksheet. My IF equation right now is:

=IF(B2='[ms updated inventory with ahfs.xls]ICu'!$A$2,L2='[ms update
inventory with ahfs.xls]ICu'!$B$2)

Where B2 is value on worksheet a,
ms updated inventory with ahfs.xls]ICu'! this is the match to column i
worksheet b
A2 is the cell to place the new information and L2 is where to get th
info to place in A2. If they do not match, I want the A cell to be lef
blank.

I hope this makes sense...this is my first post.

I appreciate any help you can provide.

Trici
 
C

Claus Busch

Hi Tricia,

Am Tue, 4 Feb 2014 16:52:06 +0000 schrieb goosielynn:
Hi! I have 2 worksheets. I am trying to get an equation that will
match values between worksheets and then fill in another column with
data from the opposite worksheet. My IF equation right now is:

=IF(B2='[ms updated inventory with ahfs.xls]ICu'!$A$2,L2='[ms updated
inventory with ahfs.xls]ICu'!$B$2)

I guess this is a case for VLOOKUP.
Can you upload a demo file and post the link here?


Regards
Claus B.
 
G

goosielynn

Claus said:
Hi Tricia,

Am Tue, 4 Feb 2014 16:52:06 +0000 schrieb goosielynn:
-
Hi! I have 2 worksheets. I am trying to get an equation that will
match values between worksheets and then fill in another column with
data from the opposite worksheet. My IF equation right now is:

=IF(B2='[ms updated inventory with ahfs.xls]ICu'!$A$2,L2='[ms updated
inventory with ahfs.xls]ICu'!$B$2)-

I guess this is a case for VLOOKUP.
Can you upload a demo file and post the link here?


Regards
Claus B.



I have attached the file.

Thanks
 
C

Claus Busch

Hi Tricia,

Am Tue, 4 Feb 2014 19:49:24 +0000 schrieb goosielynn:
I have attached the file.

here is no attachment :-(
Send it to my address


Regards
Claus B.
 
G

goosielynn

Claus said:
Hi Tricia,

Am Tue, 4 Feb 2014 19:49:24 +0000 schrieb goosielynn:
-

here is no attachment :-(
Send it to my address


Regards
Claus B.

I don't see your address... I have attached again, please let me kno
if it worked this time, Thanks

+-------------------------------------------------------------------
|Filename: upload for excel help.txt
|Download: http://www.excelbanter.com/attachment.php?attachmentid=942
+-------------------------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top