Solved

Excel equation

Posted on 2014-01-27
3
205 Views
Last Modified: 2014-01-27
hi all,

I have this is in my excel sheet

=IF(C2>=30, "2000", IF(C2>15,"520", IF(C2<=15,"400")))

this works in that it provides a result in the cell.

however, this cell is in a column of which I need a total sum. it does not read this cell??

how can I fix this?
thanks
Gareth
0
Comment
Question by:gareth629
  • 2
3 Comments
 

Accepted Solution

by:
gareth629 earned 0 total points
Comment Utility
Got it!!

if I change the 400, 560 (was 520, just go with it), 2000 to ratios of 400 ie 1, 1.4, 5 and then add * 400 after the equation it works.

therefore - =IF(C2>=30, "4", IF(C5>15,"2", IF(C5<=15,"1")))*400

it works.
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
Comment Utility
Although you have got it to work, the real problem was that you were entering text and not numbers. You should have had

=IF(C2>=30, 2000, IF(C2>15,520, IF(C2<=15,400)))

instead of

=IF(C2>=30, "2000", IF(C2>15,"520", IF(C2<=15,"400")))
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
Comment Utility
BTW I just noticed that the question formula and the solved formula would yield different results.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now