Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 43
Default Need Help about vlook

Sheet A has
Col A: Inventory code
Col B: Description
Col C: Quantity

Sheet B has
Col A: Inventory code
Col B: Description
Col C: Quantity ( both sheets have same data but inventory code may be
different)

Sheet C required
Required: total quantity of sheet A and sheet B in Col. C of sheet C

Kindly help me to create a logical formula / vlook formula

Example

Sheet A

Col A Col B Col C
Inventory code Description Quantity
10001 pencil 25
10002 pen 50
10003 rubber 75

Sheet B
Col A Col B Col C
Inventory code Description Quantity
10001 pencil 25
10002 pen 50
10004 Duster 15


Sheet C
Col A Col B Col C
Inventory code Description Total Qty of sheet A & Sheet B
10001 pencil ? ( total required with the help of vlook formula)
10002 pen ?
10003 rubber ?
10004 Duster ?

Zafar

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Need Help about vlook

You've hi-jacked Grandma B's post, but try this in C2 of Sheet C:

=IF(ISNA(VLOOKUP(A2,'Sheet A'!A$2:C$1000,3,0)),0,
VLOOKUP(A2,'Sheet A'!A$2:C$1000,3,0)) +
IF(ISNA(VLOOKUP(A2,'Sheet B'!A$2:C$1500,3,0)),0,
VLOOKUP(A2,'Sheet B'!A$2:C$1500,3,0))

This is all one formula - I've split it to avoid awkward line breaks.
I've assumed you have a table of 1000 items in Sheet A and 1500 items
in Sheet B, so adjust these values to suit your data, then copy the
formula down.

Hope this helps.

Pete

vlook fomula wrote:

Sheet A has
Col A: Inventory code
Col B: Description
Col C: Quantity

Sheet B has
Col A: Inventory code
Col B: Description
Col C: Quantity ( both sheets have same data but inventory code may be
different)

Sheet C required
Required: total quantity of sheet A and sheet B in Col. C of sheet C

Kindly help me to create a logical formula / vlook formula

Example

Sheet A

Col A Col B Col C
Inventory code Description Quantity
10001 pencil 25
10002 pen 50
10003 rubber 75

Sheet B
Col A Col B Col C
Inventory code Description Quantity
10001 pencil 25
10002 pen 50
10004 Duster 15


Sheet C
Col A Col B Col C
Inventory code Description Total Qty of sheet A & Sheet B
10001 pencil ? ( total required with the help of vlook formula)
10002 pen ?
10003 rubber ?
10004 Duster ?

Zafar


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
use vlook to show the value of a cell using a formula David Excel Discussion (Misc queries) 5 October 21st 06 12:01 AM
Vlook bimseun Excel Worksheet Functions 3 May 27th 06 11:50 PM
Subject: vlook up 1/25/2006 1:39 PM PST arcticale Excel Discussion (Misc queries) 1 January 27th 06 06:10 PM
vlook up arcticale Excel Discussion (Misc queries) 1 January 25th 06 09:36 PM
How do I use drop down list selections/values in a vlook up formu. CL Excel Discussion (Misc queries) 2 January 19th 05 10:39 PM


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