Ok, so I've got two different numbers in different cells. Say, A1 = 10,000 and B1 = 3,000 for example. I want to have another cell show me what percentage B1 is of A1 (in this case, 30%). Here's what I tried so far:
=SUM(100/A1)*B1
and
=SUM(100/A1*B1)
Now, when I perform this calculation on the calculator (100 divided by 10,000, take that sum times 3,000), it shows 30 as one would expect. But when I do it in Excel I get ####### displayed (no matter what the format for numbers is set to). Anyone have any ideas on how I would go about this? I cheated for now and made a seperate cell (we'll call it A2) with white text showing:
=SUM(100/A1)
Then another cell with
=SUM(A2*B2)
to get the final total, but this is a hack workaround. Anyone know a way to do this in a single cell? |