Table Columns based on Pivot Table Data

jeff_cp

Board Regular
Joined
May 21, 2015
Messages
84
I have a table that shows sales for a date range. I'm running a query to pull invoices and dates and then using vlookups to pull in data from another worksheet. The system that I'm running the query on has custom payment methods available. I need to only show the payment methods that exist in the date range.

For example, for orders dated 3/2/20, there are invoices with Charge, Cash, Check, and Credit Card. I only want the table to show these 4 payment methods. However, the system also has the following payment methods available which could appear in any date range:

Visa, Mstr Card, Discover, AMEX, EBT, Paypal, MNY Order, Prepaid, Coupon.

Any help would be greatly appreciated.
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Hi, what version of excel are you using?
Any small sample of data that you could post with expected result?
 
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,313
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