Help on Project - VBA or Formulas welcome

dfuhrman08

New Member
Joined
May 6, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello there! I have tried several things and I am getting stuck on the best way to get the results that I need.
I have a large spreadsheet, columns A - CR
Each row list out one expense item and has information based on that item filled into columns thru CR.

Finance is wanting a report that if there are 5 expense items (Column BN) for $20 dollars (Column CM) for the Same GL Codes ( GL Codes have 5 sections - Column CC thru Column CG), then I need to condense it to one row with the one amount of $100.
I can sort the rows by Amount, then sort by GLCodes to group them together.
All the information in columns A-BG is the same for each row.

I have attached a pic of a smaller version of the information of what it looks it.
In the pic - it will be column T (Amt), column V-Z (GL Code sections).

I have tried several different things of Grouping, Subtotal to get the total of the same rows when the Amt changes or when the GL Code changes. I having issues getting it work when the Amt and GL Code changes.
And then how to copy/paste all the other information from the row into a total row based on the row above it.

Maybe I am looking at this all wrong and there is a better way of doing this.
Any help would be appreciated.
Thank you!
Dawn
 

Attachments

  • Excel Formula.png
    Excel Formula.png
    59.8 KB · Views: 27

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
You want Power Query, not VBA. Great playlists can be found here and here. If you used XL2BB to post the data, it would be easier to help.
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

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