+ Reply to Thread
Results 1 to 9 of 9

IF ranges

  1. #1
    Registered User
    Join Date
    10-13-2012
    Location
    Nutley,NJ
    MS-Off Ver
    Excel 2011
    Posts
    77

    Talking IF ranges

    If "E105" is between 0 and 10 I want the E106 to give me "E105", if it is less than 0, I want E106 to give me 0

    Can you please help me out with this formula?

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: IF ranges

    Next time, please think up a better thread title

    maybe...
    =if(and(E105>0,E105<10),E105,0)

    You did not say what to do if > 10?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    10-13-2012
    Location
    Nutley,NJ
    MS-Off Ver
    Excel 2011
    Posts
    77

    Re: IF ranges

    Will do

    If E105 was greater than 10 I would want E106 to post 0

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: IF ranges

    OK what I suggested should do hat for you

  5. #5
    Registered User
    Join Date
    10-13-2012
    Location
    Nutley,NJ
    MS-Off Ver
    Excel 2011
    Posts
    77

    Re: IF ranges

    Hmm for whatever reason it just gave back E105 ( which was 47 )

  6. #6
    Registered User
    Join Date
    10-13-2012
    Location
    Nutley,NJ
    MS-Off Ver
    Excel 2011
    Posts
    77

    Re: IF ranges

    wait I think I know what happened.

  7. #7
    Registered User
    Join Date
    10-13-2012
    Location
    Nutley,NJ
    MS-Off Ver
    Excel 2011
    Posts
    77

    Re: IF ranges

    Still for some reason spits back E105 (47)

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: IF ranges

    I tested (again) the suggested forumla, and it works as it should.
    =if(and(E105>0,E105<10),E105,0)

    Perhaps upload a sample workbook, showing samples of the data you are working with?

  9. #9
    Registered User
    Join Date
    10-13-2012
    Location
    Nutley,NJ
    MS-Off Ver
    Excel 2011
    Posts
    77

    Re: IF ranges

    It did work. I forgot I was working with percentages so 10 had to actually be .1

    thank you!

+ 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. Creating 'Network IP' and 'Subnet IP' Ranges from IP CIDR subnets ranges
    By sokolum in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-27-2019, 06:46 AM
  2. MIN of Summed ranges, excluding any ranges with blank cells)
    By Melvinrobb in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-08-2013, 12:02 PM
  3. Replies: 0
    Last Post: 10-15-2012, 07:24 AM
  4. Copy data in named ranges to a newer version of the same template to identical ranges
    By handstand in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-21-2006, 10:51 AM
  5. [SOLVED] assigning ranks to number ranges:, what I am trying to do is turn ranges of scores
    By nikki8327 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-24-2005, 06:05 PM

Tags for this Thread

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