• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Cells turn red if there is 0 between the first and last value (vba code required)

fahadferoz

Member
The attached file contains a tiny fraction of a big database. The database is about Territory Sales Personnel making memo to each of the outlet from his assigned zone. Here, we need to keep in mind that though there may be more than 100 outlets in one area we need to start our analysis from the month a memo is created to a outlet. To smoothly run the business we need to see how many months gone by without making any memo to the outlet since the first memo. Hence, a red highlighting cell would be real helpful for us to see the TSO performance regarding creating memo to outlets.

Please have a look at the attached file for details.
 

Attachments

  • Requirement.xlsx
    415.1 KB · Views: 2
If I understand you question, if the cell has a ZERO ( 0 ) you want it to turn red.

Use these steps:

Home tab
Conditional Formatting
Format only cells that contain
Cell Value / equal to / enter the following =0
Choose color
Ok
Apply
Ok
 
If I understand you question, if the cell has a ZERO ( 0 ) you want it to turn red.

Use these steps:

Home tab
Conditional Formatting
Format only cells that contain
Cell Value / equal to / enter the following =0
Choose color
Ok
Apply
Ok
Please read the document or what ever comes with the message. It seems that you completely ignored the requirement (written elaborately inside the spreadsheet) by simply looking at the thread tilte.

Thanks for your intention though!
 
select F4:Q237
Home tab
Conditional Formatting
Use a Formula
=AND(F4<>"",F4=0)
Choose Red Format
Ok
Apply
Ok
 
fahadferoz:

I read your comments and as I best understood what you were seeking, responded in kind.

You may disregard my assistance as it did not fulfill your wishes.

Have a good day.
 
Back
Top