+ Reply to Thread
Results 1 to 10 of 10

Fire Department Equiptment Database

  1. #1
    Registered User
    Join Date
    09-17-2012
    Location
    Wales
    MS-Off Ver
    Excel 2010
    Posts
    9

    Fire Department Equiptment Database

    Afternoon Guys

    I am currently working on a Excel Spreadsheet to manage all our equipment at our Fire station, The idea is that it is a live document that makes us visually aware of what equipment needs maintenance.

    I have set up a dashboard to view all information and have that working fine.

    In the "Fire Hose" Tab i use a IF formula to look at the next test date, this then gets allocated a word based on the date: Current, Renew, Expired.

    I have set up a conditional formatting for cell T2, based on what word is displaying will highlight the row.

    I need help getting it set up so i don't need to do all 3 steps of conditional formatting for every single row, As i have 500 lengths of hose to enter.



    I have attached the Spreadsheet, Please go to Fire hose and look at the row i have filled in, I really appreciate any help.

    Thanks
    Carl
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Fire Department Equiptment Database

    Select one of the cells with conditional formatting, goto Conditional Formatting>Manage Rules...

    Change the applied to range for each rule to $A2:$I535.
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    09-17-2012
    Location
    Wales
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Fire Department Equiptment Database

    Thanks Norie

    One more quick question, How would i use conditional formatting so if the cells are blank they stay white?
    The conditional formatting is looking for a word, so i would need to add the word blank to the existing code somewhere im guessing? this is the code that i am using to dictate "Current, Expired, Renew"

    =IF(F2<TODAY(),"Expired", IF(F2-30<TODAY(),"Renew", "Current"))

    Cheers
    Carl

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Fire Department Equiptment Database

    Carl

    That formula won't return a blank, it will always return Expired, Renew or Current.

    Do you want it to return a blank if column F is empty?
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    09-17-2012
    Location
    Wales
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Fire Department Equiptment Database

    Hey Norie

    So im using this code now and all seems to be working fine.

    =IF(F2="","Blank",IF(F2<TODAY(),"Expired",IF(F2-30<TODAY(),"Renew","Current")))

    Is there a way i cant get it to look at a different cell as well as the ones its already looking at? in one cell i type pass / fail. So i need to get it so when i type in fail in that column it adds fail to the list instead of Current, renew or Expire?

    Sorry if that dosnt make sense, if u look on my spreadsheet you can see what im talking about!

  6. #6
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Fire Department Equiptment Database

    That could be done, which column is Pass/Fail in?

  7. #7
    Registered User
    Join Date
    09-17-2012
    Location
    Wales
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Fire Department Equiptment Database

    No i wont be able to do it this way

    Ive attached a Screen shot of what im trying to do.
    Attached Images Attached Images

  8. #8
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Fire Department Equiptment Database

    Sorry I'm confused, in the image you have entered Pass/Fail in column G.

  9. #9
    Registered User
    Join Date
    09-17-2012
    Location
    Wales
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Fire Department Equiptment Database

    =IF(F3="","Blank",IF(F3<TODAY(),"Expired",IF(F3-30<TODAY(),"Renew","Current")))

    The above code is what i am using to place words into a column when it recognizes expiration dates coming up. I then use a count formula on a different tab to count the total of equipment in date, needs attention or expired. i want to add a forth column on that sheet saying FAILED.

    In order for that to work i need the above formula to look in cell G2 for the word Failed, if it finds the word fail it needs to place that in the column so that the Count Formula on the Dashboard can see the word failed and count it.

    i dont have any problems with the conditional formating its just getting the above code to look in G2

    Thanks Norie

  10. #10
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Fire Department Equiptment Database

    Sorry you've lost me.

    You want to look in G2 to put something in G2?

    Aren't you entering something in their in the first place?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Department Attendence
    By surangawewe77@yahoo. in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-04-2013, 06:42 AM
  2. Need help for fire department
    By sta224ffemt in forum Excel General
    Replies: 2
    Last Post: 12-11-2006, 04:16 PM
  3. [SOLVED] Report:each department
    By Krish in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-21-2006, 11:45 AM
  4. pivot tables:particular Department
    By Minerva in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-10-2006, 11:35 PM
  5. [SOLVED] How to use Macro throughout Department
    By SharonInGa in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-21-2005, 09:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1