Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
use vlook to show the value of a cell using a formula | Excel Discussion (Misc queries) | |||
Vlook | Excel Worksheet Functions | |||
Subject: vlook up 1/25/2006 1:39 PM PST | Excel Discussion (Misc queries) | |||
vlook up | Excel Discussion (Misc queries) | |||
How do I use drop down list selections/values in a vlook up formu. | Excel Discussion (Misc queries) |