SOLVED

Formula Help

Copper Contributor

Hello All,  I'm sure some of you will find this a simple solution, but I am new to Formulas and I just cant figure out a formula for what my boss wants me to create, PLEASE HELP...he wants me to create a spreadsheet for when we install systems into hotels, I have the sheet almost done, but on one line, he only wants to charge this line item to the customer if the room count is at 130 or more, and if it is 130 or more, he wants the room count to automatically fill in on Line item B11. 

So when we fill in the room count on line B5 which is where I will always fill in the room count for each property, my sheet auto fills in the room count on B7 thru B10, and I have that all set and done, BUT on B11 I only want the room count to auto fill in for that said room count if its 130 or more, if its less that 130 we don't want the room count to fill in with a number that we input in B5.

7 Replies

@Queenie65 

Perhaps you may provide small sample file to illustrate the task?

@Sergei Baklan I have my sheet attached, I thought I had it figured out, but noooooo. I appreciate your help!

best response confirmed by Queenie65 (Copper Contributor)
Solution

@Queenie65 a formula like this should work:

=B5*(B5>=130)

 

@mtarler YAY, that formula worked, but D11 won't work?  I know I'm pushing it asking another question lol, but I'm going to ask anyways:)

D11 is adding the unit count and the (.25) discount and its turning into a positive number instead of a negative number for a discount, I want to give my customers a discount if their room count is 130 or more rooms.

So when B11 auto fills in with 130 or more from B5, I want D11 to be a negative number for a discount, but if the number is under 130 there should be no number and right now if its under 130 it shows (.25) instead of zero, and if it's 130 or more, its charging the customer more money instead of giving a discount.  This will be the last question, I appreciate this so much!!

@Queenie65 

I didn't catch how do you calculate the discount for above 130, but the idea is

=C11*(B11>=130)

 

=IF(B11>=130,SUM(D7:D10)*-0.25,0)

@Queenie65 I don't understand your comment/question about it "adding" and costing more.  The formula you have/had is "SUM(C11*B11)" which doesn't need the "SUM" as it is just C11*B11, but the answer is still correct.  As shown in the screen capture:

mtarler_0-1612302631873.png

180 units time the (negative) 0.25 results in a -$45.00 and the per month is $45 less than if that line wasn't there.  Also the next line is a per month, per room which shows the $0.25 discount $18.94 - $0.25 = $18.69

1 best response

Accepted Solutions
best response confirmed by Queenie65 (Copper Contributor)
Solution

@Queenie65 a formula like this should work:

=B5*(B5>=130)

 

View solution in original post