+ Reply to Thread
Results 1 to 3 of 3

How to use an IF function

  1. #1
    WRS924
    Guest

    How to use an IF function

    I am trying to create a spreadsheet for a church dinner where the cost per
    person is $5.00, but the maximum amount paid by a family is $15.00. In the
    spreadsheet, I want to multiply the number of persons in the family times
    $5.00, but if the total is more than $15.00, I want the total column to show
    only $15.00. Does this make sense? Can someone help me with this formula?
    I can get the IF function to work, but don't know how to combine the two.
    Thanks!

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,526
    =IF(A1>2,15,A1*5)
    format the cell for currency

  3. #3
    WRS924
    Guest

    Re: How to use an IF function

    Thank you so much!

    "davesexcel" wrote:

    >
    > =IF(A1>2,15,A1*5)
    > format the cell for currency
    >
    >
    > --
    > davesexcel
    > ------------------------------------------------------------------------
    > davesexcel's Profile: http://www.excelforum.com/member.php...o&userid=31708
    > View this thread: http://www.excelforum.com/showthread...hreadid=520415
    >
    >


+ 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