How to utilize an INDEX MATCH function with a wild card to perform an appropriate match

O_ch

New Member
Joined
Jan 7, 2021
Messages
14
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
  2. Web
Would you know what is the correct match function with wild card. I have three sheets in one work book. They all do not have the same product description, all three sheets have the same header columns. I tried to use sheet1 and sheet two for the cell match Total (Qty) from both into Sheet3. Using sheet 1 & 2 have the product description and Total Qty. So Sheet3 needs from both only the Total Quantity. The issue is that Sheet 1 & 2 have no matching product description with Sheet "Total Quantity" Product description. Therefore it will return the corresponding Total Quantity result from both column C for the approximate match. Images have been uploaded. What I would like to see is Sheet "Total Quantity" Missing with Company (A) and Company (B) Total Quantity Sheet in work book. When I use my XLOOKUP function I do get the "QTY" numbers and they do not capture the correct column QTY from Sheet1 and Sheet2.

For example, if c2 is "abc" and my data is:

Column A to Column C
abc description 1
def description 2
ghi description 3

The formula would:
Match "abc" approximately in column A
and "def" approximately in column b
and "ghi" approximately in column c


Sheet1 Company (A)
Company (A)NumProduct/ServiceMemoItem DescriptionColumn1(Company A) QtySales Price
A4584346-1x361/2" X 3 YDS, ROLL1/2" X 3 YDS, ROLL1/2" X 3 YDS4$14.50
A45625Roll-1x361" x 36yd. Rolls1" x 36yd. Rolls1" x 36yd10$12.75

Sheet 1 of 1 Company (A)
Company (A)DateTransaction TypeNumProduct/ServiceItem DescriptionItem Description1Item Description2(Company A) Qty
A05/11/2022Invoice
45843​
46-1x361/2" X 3 YDS, ROLL1/2" X 3 YDS1/2" X
$4.00​
A01/05/2022Invoice
45625​
HCM-RED-1x361" x 36yd. Rolls1" x 36yd1" x
$10.00​


Sheet2 Company (B)
Company (B)TypeDateNumMemoNameItemItem DescriptionColumn1Walker Qty2U/MSales Price
BInvoice
3/10/2022​
391737Straight StripsCF1491522 Clear - 1" X 3" Strips, 36pc/Bag1522 Clear - 1" X 3" Strips, 36pc/Bag1/2" X
5​
ea
1.26​
BInvoice
2/14/2023​
408352Straight StripsCF1491523 Clear - 1" X 3" Strips, 36pc/Bag1522 Clear - 1" X 3" Strips, 36pc/Bag1/2" X
50​
ea
1.32​

Sheet2 of 2 Company (B)
Company (B)TypeDateNumMemoNameItemItem DescriptionColumn1Walker Qty2
BInvoice
44630​
391737Straight StripsCF1491522 Clear - 1" X 3" Strips, 36pc/Bag1522 Clear - 1" X 3" Strips, 36pc/Bag1/2" X
5​
BInvoice
44971​
408352Straight StripsCF1501522 Clear - 1" X 3" Strips, 36pc/Bag1522 Clear - 1" X 3" Strips, 36pc/Bag1/2" X
50​


Sheet "Total Quantity" Missing Company (A) and Company (B) Total Quantity
(Company A) ProductItem Description (Company A)(Company B) ProductItem Description (Company B)(Company A) QtyPrice (Company A)(Company B) QtyPrice (Company B)
15221/2” x 3 yardsTape1/2" X 3 YDS, ROLL$1.10$1.17
15223/4” x 36 yardsTape3/4" X 36 YDS, ROLL$9.95$10.44


[ My Excel Function]
=IFERROR(XLOOKUP("Column1",Sheet1!A:M,9,FALSE),IFERROR(XLOOKUP("Column1",Sheet2!A:K,8,FALSE),Sheet2!I2)

So in total I have 5 Sheets and I would only like to use Sheet1 and Sheet2 to return the Quantity within my last work book "Sheet Total Qty".
 

Attachments

  • Sheet1.JPG
    Sheet1.JPG
    32.9 KB · Views: 11
  • Sheet1 of 1.JPG
    Sheet1 of 1.JPG
    33.9 KB · Views: 9
  • Sheet2.JPG
    Sheet2.JPG
    39.2 KB · Views: 10
  • Sheet2 - 2.JPG
    Sheet2 - 2.JPG
    38.2 KB · Views: 10
  • Total Qty.JPG
    Total Qty.JPG
    41.6 KB · Views: 9
  • Formulas.JPG
    Formulas.JPG
    34.7 KB · Views: 10

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
I don't think it will work with the current set up of your tables. It would be a lot easier if the descriptions matched or if there was some specific link between them that could easily be referenced.

If you modified the descriptions, a SUMIFS() formula might be able to get the qty totals you're looking for.
 
Upvote 0

Forum statistics

Threads
1,223,162
Messages
6,170,432
Members
452,326
Latest member
johnshaji

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top