Index Match with and If - excel

If anyone could help it would be greatly appreciated.
I cant get my code to work it keeps bringing back an answer of "no" I need it to complete the following index and match if the initial If criteria is met but it isn't working.
{=IF('All Data'!E3:E6= "1",(INDEX('All Data'!$F$3:$F$6,MATCH($G$11,'All Data'!$D$3:$D$6,0))),"no")}
Thanks
Paula

I managed to get this to work through using multiple criteria in my index match
=INDEX('All Data'!$F$3:$F$190,MATCH(1,($H$5='All Data'!$E$3:$E$6)*($G$11='All Data'!$D$3:$D$6),0))

Related

Problem counting values, not returning anything

I have the following formula but for some reason is not returning anything, can someone help me? Thanks
=COUNTIFS(B:B,">="&Ranges!A2,B:B,"<="&Ranges!B2+0.999988,C:C,">=Ranges!$D$2",C:C,"<=Ranges!$E$2")
You've got the criteria wrong in the last part - they should use similar syntax to the first two - in other words:
=COUNTIFS(B:B,">="&Ranges!A2,B:B,"<="&Ranges!B2+0.999988,C:C,">="&Ranges!$D$2,C:C,"<="&Ranges!$E$2)

Triming a URL, Can Not remove a character

I am trying to trim a url with a formula after a set word within the url, I can do it apart from I can not remove the first character of the keyword, in this case it is "Company".
I am using this formula
=MID(A2,1,IFERROR(FIND(""Company"",A2),FIND(""company"",A2))+0)
From & To
If I remove the +0 completely at or change it to a 0 then I keep getting an error message and I can not work it out.
Q) Can someone please explain why i can not remove the last character?
Also if you can help can you please keep it as a formula as shown above, as I am limited in VBA
As Always thanks in advance
Im sorry for posting the above, all it need was a -1 at the end. I tried this before posting and it kept giving me and error messages. I have just tried it AGAIN and it has worked. I only posted as I was stuck on this for hours and could not find a solution.

Need Help To Get Matched Values From Table 1 to Table 2

Please Help me to Get Matched Values From Table 1 to Table 2 based on formula's
The table to needs to be filled by ref values based on the associate marked attendance.
I have tried V lookup() and Match() Nothing worked out.
Sorry ! Guys ! Self Found an Answer Just Now. I used it earlier but forgot it.
Just Now Remembered again.
The Value can be Get Through Countif() Function. and It it's HD Then Countif()*.5
If anyone know's other methods please post here so that will get some
idea's in easier way

Limit the characters that can be used in a field in formula

I need to limit the characters that can be used in a field to 0-9 and {} and -
I have this working so far, in the Input Validation:
#Matches(#thisvalue; "+{()0-9}")
But how do I go and add the - in this formula?
As usual, thanks fot the help.
Oh boy... I guess I was tired last night... I ended up making work with this:
#Matches(#ThisValue; "+{\-()0-9}")
Hope it might help someone else one day...

Excel Match multiple criteria

Could someone help me turn this 2 Criteria match function into a 4 criteria match function please? This one works, but is only the start:
=INDEX(range1,MATCH(1,(A19=range2)*(B19=range3),0))
I also want a third and fourth match in the above formula, with those two being an OR option. I thought based upon the working version that this might work, but it doesn't:
=INDEX(range1,MATCH(1,(A19=range2)*(B19=range3)*(OR(C19=range4,D19=range5)),0))
I've been trying to use AND commands, my initial version of the first code above being this:
=INDEX(range1,MATCH(1,AND(A19=range2,B19=range3),0))
It always returns #N/A after CTRL+ALT+ENTER is entered though, so it's obviously an issue with my understanding of either MATCH or AND (or both I guess),
The first example works EXACTLY as intended, but unfortunately I don't know why and I can't work it out well enough to adapt it. Maybe I'm too tired and have run out of space in my head for the peculiar way in which Excel formulas work, but I've read and re-read the help files for them and still it doesn't make sense to me.
Any help would be greatly appreciated, as always.
Thanks,
Joe
I'm just guessing here, but would this work?
=INDEX(range1,MATCH(1,(A19=range2)*(B19=range3)*(((C19 = range4)+(D19 = range5))>0),0))

Resources