Help regarding making a Pivot table.

GravityDead

New Member
Joined
Oct 5, 2017
Messages
17
Hey guys.

I never used pivot before and so, after playing with it for an hour or two, I am finally here to ask for assistance as I couldn't Google myself much because my broadband is not working for last 2 days and searching on mobile is difficult while working.

Pardon me for the long post. :(

///Query begins

I have a table with 16 columns:
"InvoiceNumber",
"Date",
7 columns for 7 codes, ("Code-1", "Code-2" till "Code-7")
"Total",
5 columns for 5 different Banks ("Bank-1", "Bank-2" till "Bank-5")
and one for "Cash".

It is a table for recording Invoices obviously and when I enter Code(s) in various "Codes" columns (on an average 2 codes are entered per invoice), the "Total" column gets filled, pulling their respective prices from another sheet and adding them.

So now I need a pivot table (or something similar) where I can get the date, invoice number, bank and cash details for each transaction in which a specific code (say filter) is present in any of the 7 columns for codes.

Query ends///

I was able to get the date (and invoice number as expandable option under date) under "rows" area of pivot table and 6 columns for banks & cash info under "Values" area of pivot table as sum of each bank and cash.
But I couldn't find out that how can I apply a filter that searches through all the 7 codes columns instead of just one.

I really hope you guys can find some sense in this question as I'm not really good at explaining things. :'(

Hoping to find a solution sooner rather than later, though at this point I really wish I knew MS-Access. A database would have been much better for my purpose. One day may be :)
 
Last edited:

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,636
Latest member
laura12345

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