+ Reply to Thread
Results 1 to 4 of 4

IF Statement: How can I write an IF statement for the following:

  1. #1
    Sue
    Guest

    IF Statement: How can I write an IF statement for the following:

    How can I write an IF statement for the following:

    If the value in cell b4 < 10, round that figure to 1 decimal place.

    If the value in cell b4 => 10, round that figure to 0 decimal place.

    Thanks,
    --
    Sue

  2. #2
    Elkar
    Guest

    re: IF Statement: How can I write an IF statement for the following:

    Try this:

    =IF(B4<10,ROUND(B4,1),ROUND(B4,0))

    HTH,
    Elkar

    "Sue" wrote:

    > How can I write an IF statement for the following:
    >
    > If the value in cell b4 < 10, round that figure to 1 decimal place.
    >
    > If the value in cell b4 => 10, round that figure to 0 decimal place.
    >
    > Thanks,
    > --
    > Sue


  3. #3
    CLR
    Guest

    re: IF Statement: How can I write an IF statement for the following:

    =IF(B4<10,ROUND(B4,1),IF(B4>=10,ROUND(B4,0),""))

    Vaya con Dios,
    Chuck, CABGx3



    "Sue" wrote:

    > How can I write an IF statement for the following:
    >
    > If the value in cell b4 < 10, round that figure to 1 decimal place.
    >
    > If the value in cell b4 => 10, round that figure to 0 decimal place.
    >
    > Thanks,
    > --
    > Sue


  4. #4
    Gary''s Student
    Guest

    re: IF Statement: How can I write an IF statement for the following:

    Use:


    =IF(B4<10,ROUND(B4,1),ROUND(B4,0))

    --
    Gary's Student


    "Sue" wrote:

    > How can I write an IF statement for the following:
    >
    > If the value in cell b4 < 10, round that figure to 1 decimal place.
    >
    > If the value in cell b4 => 10, round that figure to 0 decimal place.
    >
    > Thanks,
    > --
    > Sue


+ 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