ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Can the IF function be used with values from multiple worksheets? (https://www.excelbanter.com/excel-discussion-misc-queries/449774-can-if-function-used-values-multiple-worksheets.html)

goosielynn

Can the IF function be used with values from multiple worksheets?
 
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)

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

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

I appreciate any help you can provide.

Tricia

Claus Busch

Can the IF function be used with values from multiple worksheets?
 
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.
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2

goosielynn

Quote:

Originally Posted by Claus Busch (Post 1615998)
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.
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2



I have attached the file.

Thanks!

Claus Busch

Can the IF function be used with values from multiple worksheets?
 
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.
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2

goosielynn

1 Attachment(s)
Quote:

Originally Posted by Claus Busch (Post 1616039)
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.
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2

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


All times are GMT +1. The time now is 03:36 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com