Results 1 to 2 of 2

Thread: If function Problem

  1. #1

    If function Problem



    Register for a FREE account, and/
    or Log in to avoid these ads!

    If function Problem


    i have a time sheet.
    C2 must have value if c1 bigger or equal to 7,5 =7,5
    if c1<7.5 c2 must be have digits of c1

    =if(c1>=7,5;7,5);=if(c1<7,5;c1)
    for example
    c
    1 8
    2 7.5
    c
    1 4
    2 4

    how i must write formula
    thanks before
    Attached Files Attached Files

  2. #2
    Administrator Ken Puls's Avatar
    Join Date
    Mar 2011
    Location
    Nanaimo, BC, Canada
    Posts
    1,601
    Articles
    100
    Blog Entries
    14


    Register for a FREE account, and/
    or Log in to avoid these ads!

    I'll give you two different ways:

    =IF(C1>=7,5;7,5,C1)

    OR

    =MIN(C1;7.5)

    Hope that helps,
    Ken Puls, CMA, MS MVP (Excel)

    Main Site: http://www.excelguru.ca -||- Blog: http://www.excelguru.ca/blog -||- Forums: http://www.excelguru.ca/forums
    Check out the Excelguru Facebook Fan Page -||- Follow Me on Twitter

    If you've been given VBA code (a macro) for your solution, but don't know where to put it, CLICK HERE.

Posting Permissions

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