+ Reply to Thread
Results 1 to 3 of 3

Help with an IF, COUNT formula

  1. #1
    Registered User
    Join Date
    10-26-2010
    Location
    nashville, tn
    MS-Off Ver
    Excel 2007
    Posts
    13

    Question Help with an IF, COUNT formula

    this forum has saved me several times now and thought i would put this out there for the masters of Excel-------i have attached my worksheet, Column O has an IF formula that I would like to tweak if possible-----If column L has an H (stands for hours) I want the formula in O to say <=100--------If coulumn L has an M (stands for months) I want the formula in O (to say <= 6-----------If column L has an L (stands for landings) I want the formula in O to say <=150------------I have gone through and changed the values by hand in my attached spreadsheet, but this is going to be too time consuming once i start other sheets for other airplanes-------This is so I can make a this is DUE list for aircraft I am working on--------------Thanks in advance
    Attached Files Attached Files
    Last edited by esj001; 03-29-2011 at 11:36 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Help with an IF, COUNT formula

    Try:

    =IF(L8="","",LOOKUP(L8,{"H","L","M"},{"<=100","<=500","<=6"}))

    copied down.

    If you add more letter codes, make sure they are listed in the first array in ascending alphabetical order, then in show the desired results in corresponding position in 2nd array.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    10-26-2010
    Location
    nashville, tn
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Help with an IF, COUNT formula

    thank you sir

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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