Show only first and last values from all categories

EricROJO

New Member
Joined
Mar 9, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
1678407695373.png
1678487855243.png


I have a pivot table filtered by "Pozo", showing me those values for each Pozo historically. Next to it, I have a regular table with formulae (referring to the data in the PT) to evaluate the evolution of these parameters up until today, updated daily. One of these formulae calculates the percentage of energy remaining (today's value) compared with the first datum.

Next step is I need to report daily the state of the Pozo, including the evaluation, so I end up updating the database, then manually scrolling through every Pozo and copying the last row.

Can someone give me a hint of some way to automatize these steps? Meaning copying the last row including the results of the formulae, paste them as values somewhere else, then changing to the next item in the "Pozo" Pivot Field, and repeat for all? (I'm thinking VBA but can't get it to work).
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
welcome to the forum. The forum users cannot work with pictures. Can you please use the xl2bb add in (link below). It will help the forum help you.
 
Upvote 0

Forum statistics

Threads
1,215,045
Messages
6,122,840
Members
449,096
Latest member
Erald

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