+ Reply to Thread
Results 1 to 2 of 2

Is a cell formula (IF cell is a %)

  1. #1
    Forum Contributor
    Join Date
    10-03-2005
    Posts
    183

    Is a cell formula (IF cell is a %)

    Hi

    I have three cells, fee, discount and total

    Some inserts discount in % and some in Value, to come around the problem I want to insert a formula in the Total cell which.

    if Cell is a % then: (fee*discount)+fee
    if Cell is a value then: fee + discount

    Can a make a formula for this like, ISPROSENTAGE()

  2. #2
    Niek Otten
    Guest

    Re: Is a cell formula (IF cell is a %)

    =IF(LEFT(CELL("format",B1),1)="p",(1+B1)*A1,B1+A1)


    --
    Kind regards,

    Niek Otten


    "Ctech" <[email protected]> wrote in message
    news:[email protected]...
    >
    > Hi
    >
    > I have three cells, fee, discount and total
    >
    > Some inserts discount in % and some in Value, to come around the
    > problem I want to insert a formula in the Total cell which.
    >
    > if Cell is a % then: (fee*discount)+fee
    > if Cell is a value then: fee + discount
    >
    > Can a make a formula for this like, ISPROSENTAGE()
    >
    >
    > --
    > Ctech
    >
    >
    > ------------------------------------------------------------------------
    > Ctech's Profile: http://www.excelforum.com/member.php...o&userid=27745
    > View this thread: http://www.excelforum.com/showthread...hreadid=523158
    >




+ 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