Results 1 to 4 of 4

Thread: Need help with this formula
Thanks Thanks: 0 Likes Likes: 0

  1. #1
    New Member
    Join Date
    Jul 2019
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Need help with this formula

    Hi all,

    MY formula is this
    =IF(OR(ISBLANK(E15),ISBLANK(F15)), "", "$" &E15/F15*100 &"/100g")

    and my result is this
    $3.20 175g $1.82857142857143/100g

    Issue I'm having is I would like to only have the multiplied number to 2 decimal places but unfortunately can't figure out how.

    Thanks for your help.

  2. #2
    Board Regular
    Join Date
    Mar 2015
    Posts
    3,901
    Post Thanks / Like
    Mentioned
    72 Post(s)
    Tagged
    7 Thread(s)

    Default Re: Need help with this formula

    try this


    =IF(OR(ISBLANK(E15),ISBLANK(F15)), "", "$" &TEXT(E15/F15*100,"0.00") &"/100g")

  3. #3
    New Member
    Join Date
    Jul 2019
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Need help with this formula

    Yongle, You're a legend!

    Thank you very much as it worked a charm.

  4. #4
    Board Regular
    Join Date
    Mar 2015
    Posts
    3,901
    Post Thanks / Like
    Mentioned
    72 Post(s)
    Tagged
    7 Thread(s)

    Default Re: Need help with this formula

    Glad it helped

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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