need formula

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need a formula to do the following

("Cell contents"-60)*2
("Cell contents"-80)*6
("Cell contents"-90)*2

Cell contents in each case is same cell so only want line 2 to apply only if
contents greater than 80 and line 3 if contents only greater than 90 other
wise answer could be a negative amount

anyone understand what I mean and got an answer

thanks if you have
 
if A1 is the cell content, then use:
=IF(A1>80,(A1-80)*6,IF(A1>90,(A1-90)*2,(A1-60)*2))

- Mangesh
 
try this
=IF(C9<80,(C9-60)*2,IF(AND(C9>=80,C9<=90),(C9-80)*6,IF(C9>90,(C9-90)*2)))
this assumes your middle range includes 80 and 90
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Excel Need Countifs Formula Help 0
match formula needed 2
If, and, or conditional formulas together 4
conditional formatting update issue 5
Nested if help 1
Vlookup help 5
IF Formula 3
If statements 4

Back
Top