Solved

Excel equation

Posted on 2014-01-27
3
207 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
ID: 39814131
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
ID: 39814170
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
ID: 39814176
BTW I just noticed that the question formula and the solved formula would yield different results.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

932 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

13 Experts available now in Live!

Get 1:1 Help Now