LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,522
Default If equation with a VLookUp

On Wednesday, May 2, 2012 1:55:27 PM UTC-5, LiziC wrote:
Hello,
I'm wondering if anyone can help me? I'm trying to use a combination of
an If equation and a VLookup across two different spreadsheets and I'm
not sure how to word the formula.

Basically, on the SZX TEST 1.0 spreadsheet, if the contents of Column C
is 'Y' then on the Column B on the SZX Delivery Note 1.0 is filled in
with the VLookup, and if Column C is blank, then Column B is also
blank.

The formula I've been trying is:
=IF('[SZX TEST 1.0.xls]MT'!$C:$C="Y","=VLOOKUP($A:$A,'[SZX SHENZEN TEST
(2).xls]MT'!$B:$AA,6,FALSE)","")

And I know the VLookUp part is right but I think I've messed up on
wording of it perhaps? To be honest Column C doesn't need to be 'Y', it
could be a number like '1' just as long as the formula works I'm not
fussed on letter/number is in Column C.

I realise I probably haven't explained it too well, but I've attached
the two spreadsheets if that helps?

Any help would be greatly appreciated!!

Many thanks,
Liz


+-------------------------------------------------------------------+
|Filename: SZX TEST 1.0.zip |
|Download: http://www.excelbanter.com/attachment.php?attachmentid=359|
|Filename: SZX Delivery Note 1.0.zip |
|Download: http://www.excelbanter.com/attachment.php?attachmentid=360|
+-------------------------------------------------------------------+



--
LiziC

This tested in the source file. So,add your filename and change b4 to a25
=OFFSET($G$1,SUMPRODUCT(--($B$4:$B$40=B4)*--(($C$4:$C$40)="Y")*--(ROW($G$4:$G$40)-1)),0)



 
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
Vlookup equation on multiple tabs bongiman Excel Discussion (Misc queries) 7 January 28th 10 11:44 PM
Vlookup equation for multiple tabs bongiman Excel Discussion (Misc queries) 1 February 10th 09 03:59 PM
Vlookup and Hlookup equation SGT Buckeye Excel Discussion (Misc queries) 10 May 30th 07 05:09 PM
VLOOKUP equation in VBA Ed Excel Programming 2 February 20th 07 06:03 PM
Equation Editor- problem when editing an equation Gaby L. Excel Discussion (Misc queries) 0 September 27th 05 09:24 PM


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