Solved

Excel equation

Posted on 2014-01-27
3
217 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

696 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