Solved

Conditional Formatting in a pivot

Posted on 2014-12-09
4
76 Views
Last Modified: 2014-12-10
I have data in a pivot

Name   Jan Feb etc etc Sep  Oct Nov

Dave      1      0     1   1    1     1      1


I am looking for conditional formatting that will turn a row red if two out of the last three months have a value of 1.

Thanks
0
Comment
Question by:Seamus2626
  • 2
4 Comments
 
LVL 24

Accepted Solution

by:
Phillip Burton earned 250 total points
ID: 40489348
A bit hard to answer the question, given the lack of specifics.

However, here goes. If your pivot values starts at E3, then this formula will give you the total of the last three months:

=INDEX(E3:IV3,0,COUNT(E3:IV3)-2)+INDEX(E3:IV3,0,COUNT(E3:IV3)-1)+INDEX(E3:IV3,0,COUNT(E3:IV3))

Therefore, you could put =2 or >=2 to that to get your condition.
0
 
LVL 49

Assisted Solution

by:Rgonzo1971
Rgonzo1971 earned 250 total points
ID: 40489382
Hi,

pls try

=SUM(OFFSET(B5:IV5,0,COUNT(B5:IV5)-3,1,3))>=2

Regards
0
 

Author Closing Comment

by:Seamus2626
ID: 40491002
Thanks!
0
 
LVL 24

Expert Comment

by:Phillip Burton
ID: 40491018
Rgonzo - nice!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
Viewers will learn the basics of slicers and timelines for both PivotTables and standard Excel tables in Excel 2013.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now