Pivot Table to show only items not appearing in the last month

prosperosbks

New Member
Joined
Mar 26, 2013
Messages
3
There may be a better way of doing this than a pivot table. But here is my dilemma.

I have a number of wigets (lets say they are books)
People borrow the books and I record that on a sheet.
Book1 | dateout| dateback| person who borrowed the book.
Book2 | etc.. etc...

I create my pivot table but what I really want to know is the books that didnt get borrowed last month. or for a period of 30 days or so (i would like to custom that maybe 45 days or 60 days)

So I would be left with a report that would show me the books that are not borrowed last month, but then if a book does get borrowed it wouldn't appear the next time I refreshed the pivot table.

Thanks in advance for your assistance.
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Hi,

The easiest way out is to add a specific column to your database, a field with the adequate formula you need to result in a True/False indicator you can then incorporate in your pivot table ...

HTH
 
Upvote 0
I don't really think you need a pivot table. Unless you are trying to show multiple periods (1 month, 3 month, 1 year) at the same time.

Pivot tables are mostly for summarizing.

I would think about adding appropriate columns "=Bx>(now()-30)" (Assuming dateOut is in B) and them use autofilter on the time period columns
 
Upvote 0
I don't really think you need a pivot table. Unless you are trying to show multiple periods (1 month, 3 month, 1 year) at the same time.

Pivot tables are mostly for summarizing.

I would think about adding appropriate columns "=Bx>(now()-30)" (Assuming dateOut is in B) and them use autofilter on the time period columns

Good idea.
I love pivot tables so probably use them when i dont really need to.
I used the formula and generated a true and false statement then used that in the pivot by putting the books in the columns and the true/false out in the last 30days in the row and a count of the true/false then used some conditional formating to highlight the less than 1. whilst the table is wide, 53 books, it is effective and easily read which is perfect.

Thanks for your help.
 
Upvote 0
personally I would switch the rows and columns. I would expect the days out can be narrower columns and you can make the book column wide enough to read. But it depends on what it really looks like.
 
Upvote 0

Forum statistics

Threads
1,203,455
Messages
6,055,540
Members
444,794
Latest member
HSAL

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