Solved

Conditional Formatting in a pivot

Posted on 2014-12-09
4
81 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 51

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

734 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