+ Reply to Thread
Results 1 to 3 of 3

If Statement Again.

  1. #1
    Registered User
    Join Date
    02-06-2013
    Location
    Dade City, FL
    MS-Off Ver
    Excel 2007
    Posts
    43

    If Statement Again.

    Simple but I'm not seeing it.

    I'm talking about an 80 site campground, Sites 1-26 do not have electricity, sites 27 - 43 have electricity, sites 44 - 81 do not have elctricity. I need a formula that will give a $0.00 answer for non-electric and a $5.00 answer for electric sites. Thanks again, you guidance in the past has been great. I love the dropdown box answer and have incorporated it into my project.

    Mel B

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: If Statement Again.

    =LOOKUP(A1,{1,27,44},{0,5,0}) where a1=site number
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    02-06-2013
    Location
    Dade City, FL
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: If Statement Again.

    WWWWOOOOOOOOOWWWWWWWWWWWWWWWW!, I totally missed the lookup function. It worked great. Thanks very much. I'll be back.

    Mel

+ 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