+ Reply to Thread
Results 1 to 6 of 6

If cell value above xyz equal to then use...

  1. #1
    Registered User
    Join Date
    03-25-2014
    Location
    London
    MS-Off Ver
    Excel 2013
    Posts
    3

    If cell value above xyz equal to then use...

    Hi,

    First time poster, so apologies to anyone if I am asking a question that has been posted and answered many times before...

    I was offered a few new contracts and was trying to work the out break evens with the mileage driving (excuse the pun) my decision.

    I tried to find an excel formula for the mileage by trial and error by myself, did a fair number of google searches with further excel experiments and even tried hiring a book from the local library; admittedly the library book was after manually punching in the figures myself whilst doing my sums, but now I'm curious if there is a clever way of calculating the below; at present I would say I'm glad of all this as I now know all about conditional formatting and want to learn a lot more about excel

    I needed the formula to recognise whether the sum of one cell multiplied by another cell was/is above or below 10000, so if below 10000 to multiply the sum of the 2 first cells by 0.45 BUT if above 10000 to use the following calculation (4500+((sum of 2 cells minus 10000)*.2)))

    Thanks in advance
    Last edited by like numbers; 03-25-2014 at 01:03 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,824

    Re: If cell value above xyz equal to then use...

    =if((a1*b1)<1000,(a1*b1)*0.45,(4500+((a1+b1)-1000)*0.2))

    This will force the second condition if the multiplication is greater than or equal to 1000.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    03-25-2014
    Location
    London
    MS-Off Ver
    Excel 2013
    Posts
    3

    Re: If cell value above xyz equal to then use...

    many thanks, that was mighty quick

    I will give that formula a go

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,824

    Re: If cell value above xyz equal to then use...

    Quote Originally Posted by like numbers View Post
    many thanks, that was mighty quick

    I will give that formula a go
    Lots of practice!!!

    Hope it works ...

  5. #5
    Registered User
    Join Date
    03-25-2014
    Location
    London
    MS-Off Ver
    Excel 2013
    Posts
    3

    Re: If cell value above xyz equal to then use...

    close but not quite...

    I tweaked it to the below just to reflect that at 10000 miles is the actual cut off (my error above) and then the second calc adjustment, but with this in context I think I know understand if statements

    =IF((A1*B1)<10001,(A1*B1)*0.45,(4500+((A1*B1)-10001)*0.25))

    many thanks again

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,824

    Re: If cell value above xyz equal to then use...

    Excellent!

+ 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. Scoresheet with Equal Ranks - need to identify equal placings separately
    By Caroleh in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-12-2014, 02:59 AM
  2. Replies: 1
    Last Post: 11-28-2013, 02:16 AM
  3. [SOLVED] How to set macro to open word file equal to cell contents of a specific cell
    By ligerdub in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-21-2012, 02:39 PM
  4. when is equal not equal - cell reference results to blank cell
    By riwiseuse in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-10-2009, 09:44 AM
  5. lower and upper case equal on spreadsheet but not equal in VB
    By don in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-12-2005, 09:06 PM

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