Lookup multiple values in the same column (I think this is what I'm looking for)

samvince

New Member
Joined
Nov 19, 2018
Messages
2
Hi everyone,

I'm quite new to excel and have been trawling the internet and YouTube for answers but couldn't find what I was looking for exactly.

So I have a transaction sheet from Amazon for accounting purposes. All I want to see is how much I had made per item. However, the way Amazon show it is a bunch of fees and how much you have been paid.

Order ID
SKU
Transaction type
Payment Type
Payment Detail
Amount
Quantity
Product Title
222-3312-1819
AS-TTYY-HSWR
Order Payment
Amazon fees
Commission
-£2.44

Primer [DVD]
222-3312-1820
AS-TTYY-HSWR
Order Payment
Amazon fees
FBA fulfilment fee per unit
-£1.94

Primer [DVD]
222-3312-1821
AS-TTYY-HSWR
Order Payment
Amazon fees
Shipping chargeback
-£2.99

Primer [DVD]
222-3312-1822
AS-TTYY-HSWR
Order Payment
Amazon fees
Variable closing fee
-£0.60

Primer [DVD]
222-3312-1823
AS-TTYY-HSWR
Order Payment
Product charges

£13.50
1
Primer [DVD]
222-3312-1824
AS-TTYY-HSWR
Order Payment
Other
Shipping
£2.99

Primer [DVD]

<tbody>
</tbody>


So as you can see with Amazon they have multiple transactions for 1 item, instead of just telling you how much you have made after fees. So this is what I am trying to figure out. Generally there are hundreds of transactions over the month and I cannot figure out how to subtract all the fees in red from the final amount of money coming in, in column F. Ideally I'd like something similar to something below which will tell me exactly how much I have made for each item.

Product Title
All Fees
Payments/Sale
Net Profit after all fees

<tbody>
</tbody>


If you could point me in the right direction or have any suggestions of how best to do this I would greatly appreciate it.

Many thanks
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
How are the multiple transactions tied to the one Item ?....by SKU ?
 
Upvote 0
Hi & welcome to MrExcel
How about


Excel 2013/2016
ABCDEFGHIJKLMN
1Order IDSKUTransaction typePayment TypePayment DetailAmountQuantityProduct TitleOrder IDProduct TitleAll FeesPayments/SaleNet Profit
2222-3312-1819AS-TTYY-HSWROrder PaymentAmazon feesCommission-2.44Primer [DVD]222-3312Primer [DVD]-7.9716.498.52
3222-3312-1820AS-TTYY-HSWROrder PaymentAmazon feesFBA fulfilment fee per unit-1.94Primer [DVD]222-3313Video-9.6418.58.86
4222-3312-1821AS-TTYY-HSWROrder PaymentAmazon feesShipping chargeback-2.99Primer [DVD]
5222-3312-1822AS-TTYY-HSWROrder PaymentAmazon feesVariable closing fee-0.6Primer [DVD]
6222-3312-1823AS-TTYY-HSWROrder PaymentProduct charges13.51Primer [DVD]
7222-3312-1824AS-TTYY-HSWROrder PaymentOtherShipping2.99Primer [DVD]
8222-3313-2019AS-TTYY-HSWROrder PaymentAmazon feesCommission-3.5Video
9222-3313-2020AS-TTYY-HSWROrder PaymentAmazon feesFBA fulfilment fee per unit-0.54Video
10222-3313-2021AS-TTYY-HSWROrder PaymentAmazon feesShipping chargeback-5Video
11222-3313-2022AS-TTYY-HSWROrder PaymentAmazon feesVariable closing fee-0.6Video
12222-3313-2023AS-TTYY-HSWROrder PaymentProduct charges13.52Video
13222-3313-2024AS-TTYY-HSWROrder PaymentOtherShipping5Video
Quote
Cell Formulas
RangeFormula
L2=SUMPRODUCT((LEFT($A$2:$A$13,8)=$J2)*($F$2:$F$13<0),($F$2:$F$13))
M2=SUMPRODUCT((LEFT($A$2:$A$13,8)=$J2)*($F$2:$F$13>0),($F$2:$F$13))
N2=M2+L2
J2{=IFERROR(INDEX(LEFT($A$2:$A$13,8),MATCH(0,COUNTIF(J$1:J1,LEFT($A$2:$A$13,8)),0)),"")}
K2{=IFERROR(INDEX($H$2:$H$13,MATCH(J2,LEFT($A$2:$A$13,8),0)),"")}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0

Forum statistics

Threads
1,214,399
Messages
6,119,279
Members
448,884
Latest member
chuffman431a

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