Compare a name in a field and a specific dollar amount to another field

PETRODATAjames

New Member
Joined
Aug 20, 2022
Messages
21
Office Version
  1. 365
Platform
  1. Windows
Hola!
My worksheet has a name in column B that will match a name in column Z. If there is a match on that row, can the price, column AA be added to column M?

Gràcies
James E.

report-credit-expiration-details_Tribe Fitness Seattle.csv
ABCDEFGHIJKLMNOPQRSTUVWXYZAA
1Credit Package IDCredit PackageCredit TypeSource TypeCustomer IDCustomerCustomer EmailPurchase LocationPackage Expiration DateCredits ExpiredCurrencyRealized RevenueCredit PackagePrice
274081 ClassAll ClassesPurchase38809Seattle, WA4/14/20231USD381 Class$ 39.00
375731 ClassAll ClassesPurchase51934Seattle, WA4/17/20231USD381 Private training session$ 105.00
480631 ClassAll ClassesPurchase51976Seattle, WA4/30/20231USD3810 Classes$ 300.00
5126041 ClassAll ClassesPurchase52723Seattle, WA5/15/20231USD3910 Private 60 Minute Training Sessions$ 750.00
6712410 ClassesAll ClassesPurchase43679Seattle, WA4/5/20238USD22412 Private training sessions$ 960.00
7858510 ClassesAll ClassesPurchase39087Seattle, WA5/18/20238USD2242 Private Training Sessions Gift Card$ 210.00
8766720 ClassesAll ClassesPurchase51870Seattle, WA5/31/20232USD502 Week Intro (for previous members)$ 125.00
9857520 ClassesAll ClassesPurchase51571Seattle, WA5/18/20239USD2252 Week Intro Pass$ 125.00
1071815 ClassesAll ClassesPurchase51809Seattle, WA4/7/20232USD6820 Classes$ 500.00
1172195 ClassesAll ClassesPurchase48068Seattle, WA4/9/20231USD3420 Private training sessions$ 1,500.00
1286795 ClassesAll ClassesPurchase48752Seattle, WA5/22/20233USD1024 Private training sessions$ 380.00
13104965 ClassesAll ClassesPurchase52301Seattle, WA4/30/20233USD1055 Class Pack Gift Card$ 176.41
14106905 ClassesAll ClassesPurchase46154Seattle, WA5/5/20232USD705 Classes$ 175.00
15110875 ClassesAll ClassesPurchase44029Seattle, WA5/13/20232USD708 Private training sessions$ 720.00
16111085 ClassesAll ClassesPurchase48745Seattle, WA5/14/20232USD70Christmas Class Pack$ 225.00
17111305 ClassesAll ClassesPurchase52435Seattle, WA5/14/20231USD35Christmas Personal Training Gift Card$ 100.00
18117575 ClassesAll ClassesPurchase51837Seattle, WA6/7/20231USD35Private 30 min 1:1 (10 pack)$ 450.00
19118215 ClassesAll ClassesPurchase51349Seattle, WA6/10/20231USD35TRIBE Instructor Training Deposit$ 500.00
20120465 ClassesAll ClassesPurchase44384Seattle, WA6/20/20233USD79.2TRIBE Reformer Certification Training0
212980Private 30 min 1:1 (10 pack)AppointmentsPurchase37250Seattle, WA5/2/20236USD240
227179Private 30 min 1:1 (5 pack)AppointmentsPurchase36764Seattle, WA4/7/20234USD200
2312254TRIBE Instructor Training DepositTRIBE Instructor Training DepositPurchase51223Seattle, WA4/30/20231USD500
2412307TRIBE Instructor Training DepositTRIBE Instructor Training DepositPurchase45626Seattle, WA6/6/20231USD500
report-credit-expiration-detail
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
How about
Excel Formula:
=XLOOKUP(B2,$Z$2:$Z$20,$AA$2:$AA$20,"")
 
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,312
Members
452,634
Latest member
cpostell

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