• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member
  • Login

Simple conditional formating in pivot table|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Simple conditional formating in pivot table|General Excel Questions & Answers|Excel Forum|My Online Training Hub

office scripts course

Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…Simple conditional formating in piv…
sp_PrintTopic sp_TopicIcon
Simple conditional formating in pivot table
Avatar
Frans Visser
Duivendrecht (near Amsterdam) - The Netherlands

VIP
Members
Level 2
Forum Posts: 346
Member Since:
April 21, 2015
sp_UserOfflineSmall Offline
1
April 21, 2020 - 2:03 am
sp_Permalink sp_Print

I can't get it working….

Pivot table with values for each month.

I need per row the highest and/or lowest in the year.

See attached example and explanation.

Thanks very much!

Frans

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 880
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
2
April 21, 2020 - 4:38 am
sp_Permalink sp_Print

Hello Frans,

See attached file, I have added two new sheets, Sheet2 and data (2).

As you can see in sheet data (2) I have adjusted the data to be in a tabular format. This is the key to get the correct conditional formatting as you want.
The Pivot Table in Sheet2 should show what you are after.

If you want to keep using the data table format as you have, I am pretty sure you probably need to create a new conditional formatting rule per row.

Best regards,
Anders

Avatar
Frans Visser
Duivendrecht (near Amsterdam) - The Netherlands

VIP
Members
Level 2
Forum Posts: 346
Member Since:
April 21, 2015
sp_UserOfflineSmall Offline
3
April 22, 2020 - 4:51 am
sp_Permalink sp_Print

Thanks very much Anders. I see and think I understand why this is working and the original table not. Problem is that for this small part of data columns your solution is perfect. However I have about 160 columns who are necessary in different pivot tables. So I can't break the structure of the data.

Remaining solution to create the conditional formatting rule per row isn't an option, I think, with about 220 rows to go. 

Or can you simply copy and paste the conditional formatting of a row to other rows? I can try that out, but I'm afraid that isn't possible?

Is there perhaps an option with something with power query for this case that anybody knows?

Thanks anyway Anders!

Frans

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 880
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
4
April 22, 2020 - 7:56 am
sp_Permalink sp_Print sp_EditHistory

Hello Frans,

I have played around a little and by using a helper column I could do one formatting rule that highlights the cells per row that has lowest value. But as you will see if you add subtotals, this is not dynamic and I do suggest that you either re-arrange the data to a tabular structure or find a VBA solution.

As the Pivot Table grows or shrinks, you need to adjust the helper column accordingly.

Br,
Anders

Avatar
Frans Visser
Duivendrecht (near Amsterdam) - The Netherlands

VIP
Members
Level 2
Forum Posts: 346
Member Since:
April 21, 2015
sp_UserOfflineSmall Offline
5
April 22, 2020 - 10:08 pm
sp_Permalink sp_Print

Creative and nice solution Anders! Works perfect and als with deleting or adding rows (where indeed you sometimes have to adjust the helper column, but that's not a big issue). For this purpose of mine this is more than good enough.

Thanks very much!

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 880
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
6
April 23, 2020 - 3:25 am
sp_Permalink sp_Print

Great, I’m just glad I could help.

Take care,
/Anders

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Marcel Bila, Alan Sidman, Shawn Ward, Nicholas Meyer, Tiffany Miller, Sheryl Gill, Rick Scott, John DiMatteo, Earl Tuckman, Rob Starren, Leigh Thomas, Sheilah Taylor
Guest(s) 10
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 880
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 237
Jessica Stewart: 219
A.Maurizio: 213
Aye Mu: 201
jaryszek: 183
Newest Members:
Sheilah Taylor
Clare Webber
David Jenssen
Dominic Brosnahan
Young You
Jennifer Owens
Mohamed Touahria
Sheila McCall
Nicholas Montano
John Babcock
Forum Stats:
Groups: 3
Forums: 24
Topics: 6524
Posts: 28551

 

Member Stats:
Guest Posters: 49
Members: 32804
Moderators: 2
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel Office Scripts
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook

Sign up to our newsletter and join over 400,000
others who learn Excel and Power BI with us.

 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate
  • Sponsor Our Newsletter

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.