IF statement and multiplying - excel-formula

I have an IF statement =IF(C7="SR",Rates!$G$20,IF(C7="UC",Rates!$H$20,IF(C7="DC",Rates!$G$20,))))
This works great and gives me the correct rate. The next step I need is to calculate that rate with a value from another cell. A simple =SUM(D6*P6) returns #VALUE!
Can someone please assist with this? Many thanks in advance

What are you trying to do with D6 and P6? (what's the value of both fields? numerical values?)
SUM(D6*P6) should work but I don't see what's the utility (just =D6*P6 would give you the same answer since you're not summing anything).

Related

Avoid #num or #Name? in Sharepoint

I am getting crazy with formulas into a calculated column.
Initially this formula works for me, =
IF(DATEDIF(Today,[Due date],"D")<0,0,DATEDIF(Today,[Due date],"D")),
but unfortunately is not showing negative values only errors(#num, #name?), and I need the value be negative or at least be 0. I could not find too much information and I tried different ways but it looks like sharepoint give a syntax error.
Very Apreciated your help
SharePoint will return an error if the first date is grater than the second date, so you got (#num, #name?).
You could use the following formula to achieve your goal:
=IF(ISERROR(DATEDIF(TODAY(),[Due date],"d")),"0",DATEDIF(TODAY(),[Due date],"d"))
This is my test result:

IF / COUNTIF statement to provide an overall outcome based on multiple options

I have hit a bit of a wall and it is probably an easy fix for someone. I am trying to place an overall grade on excel based on previous entries.
Range is E73:E88
Possible outcomes on those ranges are PASS / N/A / DEVELOPING / 0.
I am trying to figure out a code to show:
if all entries are 0 or N/A then the overall outcome is NOT GRADED.
if the entries are all PASS or a mix of PASS or N/A then the overall outcome is PASS
if any of the entries have DEVELOPING then the overall outcome is DEVELOPING.
I have been using IF and COUNTIF formula but I cant seem to find the correct outcome so I am unsure if I am using the correct method.
=IF(COUNTIF(E73:E88,"DEVELOPING"),"DEVELOPING",IF(COUNTIF(E73:E88,"PASS"),"PASS",IF(COUNTIF(E73:E88,"0"),"NOT GRADED","PASS")))
Any help will be greatly appreciated.
Thanks
You should use ifna function:
=ifna(if(COUNTIF(E73:E88,"DEVELOPING"),"DEVELOPING",if(COUNTIF(E73:E88,"PASS"),"PASS", "not-graduated")),"not-graduated" )

IF X is Greater or Smaller than give an outcome

I need help with the following formula for Excel.
It's not working, the only feedback I'm getting is #VALUE! outcome.
What I'm trying to do is simply:
F5≥-8 = Big,
-3≤F5≤-7.99999= Bigger,
F5≥-2.9999999 = "Blank" <--- No outcome display required
=IF((F5)>=-8, "Big"),IF((F5)>=-3, "Bigger"), IF((F5)<=-1,",")
=IF(F5>=-8, "Big",IF(F5>=-3, "Bigger", IF(F5<=-1,"Biggest","")))
I share the same thought with TotsieMae, you are absolutely right mate. The formula above is by syntax correct but logically not.
Anyway, if the formula involve too many IF functions, then it might be worth to consider an alternate form:
=IFERROR(VLOOKUP(F5,{-8,"Big";-3,"Bigger";-1,"Biggest"},2,TRUE),"Big")

Excel formula score and award a place - Rank based on multiple parameters

Let me share the problem, where I am trying to decide the winner list comparing multiple parameters:
First of all, I need to compare the fault points. The less you have the better place you get. If the fault points are equal, then I need to compare the time. Comparing the time, the faster you performed the greater place you get (green column represents the right result).
I have used this formula:
=IF(AA16="";"";COUNTIF($Z$16:$Z$24;"<"&Z16)+1+SUMPRODUCT(--($Z$16:$Z$24=Z16);--($AA$16:$AA$24>AA16)))
However, I get a wrong comparison for the time parameter. My guess is that it is either a small issue I am having or the formula itself is completely wrong.
Thanks in advance.
Use this formula instead:
=RANK(Z16,Z$16:Z$24,1)+SUMPRODUCT((Z$16:Z$24=Z16)*(AA$16:AA$24<AA16))
See image for reference:
Looks like this might be helpful. They have an example related to breaking ties that I think will work for your scenario.
Excel Functions: Rank

I can't seem to solve an IF() false positive in Excel

Attached is a bowling sheet I have been working on to figure out my averages, and any "free game awards" I may get, as well as patches, etc...
https://dl.dropbox.com/u/3327208/excel/Bowling.xlsx
I am getting a false positive in column S.
Up till S12 the formula seems to work, in where there is a blank, and it shows me getting over 500.
The formula is:
=IF($E12>499,"X","")
Something simple and sweet or so I thought.
Now $E12 has this formula in it, which I don't see why it should affect it at all:
=IF(D12<>0,SUM($B12:$D12),"")
I tried using ISBLANK, but it seems to blow up in my face and not show anything. If someone can help me it would be greatly appreciated, thanks.
A simpler alternative
=IF(N($E12)>499,"X","")
Try this (in E9):
=IF(ISNUMBER(E9),IF($E9>499,"X",""),"")
This is likely a type comparison issue, so this only compares if the cell is actually a number.

Resources