+ Reply to Thread
Results 1 to 4 of 4

IF function

  1. #1
    Registered User
    Join Date
    11-08-2020
    Location
    Slovenija
    MS-Off Ver
    2019
    Posts
    2

    IF function

    Hi. I've got the following test, that I really need help with.
    I have the following data:

    1 Point: 20 Euros
    to 3 pages: 0,5
    above 3 pages: 0,3

    name surname pages pay
    Naomi Evans 4 36
    Tim Burton 1 10
    Ian Summer 3 30
    May Summer 2 20

    I must use If and Sum function in Excel and calculate the Amount shown under Pay (36, 10, 30, 20).
    The amount of the pay depend on how many pages the author wrote and on the number of points he gets. If his work have from 1 to 3 pages than every page is worth 0,5 point, every page above 3 get only 0,3 points.

    The sum would be For Naomi Evans:
    20*0,5=10
    20*0,3=6
    She wrote 4 pages so:
    10*3=30
    1*6=6
    ----
    36

    But how you calculate this in Excel with if function? I spent hours researching and trying to calculate and I am going crazy...

    Thank you in advance

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: IF function

    Administrative note

    Welcome to the forum

    in your haste to solve your problem, you probably missed the yellow banner advising how to get answers faster by posting a sheet ?

    Please take a moment to read it and attach a sheet accordingly.

    Thanks you for helping us help you

  3. #3
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: IF function

    Assuming your page count is in C2, then the following formula in D2 and then copied down as far as needed does, I think, gives you your expected results:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Geoff

    Did I help significantly? If you wish, click on * Add Reputation to say thanks.
    If your problem has been resolved please select ?Solved? from the Thread Tools menu

  4. #4
    Registered User
    Join Date
    11-08-2020
    Location
    Slovenija
    MS-Off Ver
    2019
    Posts
    2
    Quote Originally Posted by GeoffW283 View Post
    Assuming your page count is in C2, then the following formula in D2 and then copied down as far as needed does, I think, gives you your expected results:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Thank you!! I was close, just that with my formula when I changed the amount of pages the amount under “pay” didn’t change accordingly. With your formula it did. Thank you again!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Right function, Left function, Mid function to extract values in column A
    By bjnockle in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 06-14-2020, 03:14 PM
  2. Replies: 0
    Last Post: 07-07-2018, 04:13 AM
  3. COUNTUNIQUE Function in Google Sheets; Excel lacks a direct counterpart to this function?
    By PivotTablePSHomage in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-18-2018, 05:27 AM
  4. Calling function inside function. (aka nested function)
    By jakopak in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-02-2015, 05:58 AM
  5. Replies: 13
    Last Post: 04-08-2014, 05:46 AM
  6. Replies: 1
    Last Post: 03-21-2012, 11:22 AM
  7. Replies: 2
    Last Post: 03-20-2009, 01:29 PM

Tags for this Thread

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