I'm having an issue using the correct COUNTIF formula in excel.
Wondering if anyone can help.
Countifs will do the trick - screenshot refers:
=COUNTIFS(E5:E10,"="&"",F5:F10,"<>"&"")
Related
I am having trouble working out an error I am having with the formula below, I am a bit of a novice and its been more trial and error than anything so far but, I was hoping someone with a far greater knowledge could point out where I am going wrong.
The formula works fine without the indirect element I.e.
=SUMPRODUCT((PARROT!$o$12:$o$250<>"COMPLETE")*(PARROT!$n$12:$n$250<TODAY()))
but I want to replace the sheet name with an INDIRECT address as the name of the sheet could change
so the formula I came up with is but, it has an error:
=SUMPRODUCT(INDIRECT("'"&$A3&"'!$o$12:$o$250"),"<>"&"Complete")*(INDIRECT("'"&$A3&"'!$N$12:$N$250")<TODAY())
Help would be very much appreciated.
From your formula it seems you are just counting rows where O12:O250 is not equal Complete and N12:N250 is earlier than today. So, you can use COUNTIFS() formula with INDIRECT() easily. Try below.
=COUNTIFS(INDIRECT($A$3&"!$O$12:$O$250"),"<>Complete",INDIRECT($A$3&"!$N$12:$N$250"),"<"&TODAY())
If you need to sum values from a column then SUMIFS() will be your friend.
I've been brainstorming on how reformat a set of characters in Excel. The following is a list of MAC addresses:
c00123837da2
c00685208b9f
c00f39fb0303
c017e60c20dc
c01de4084d1d
c020f0caf1db
c02719661782
c02b2924603d
c02f76701db5
I need them to be in a certain format. As an example for number one I have c00123837da2 and I want it to be formatted as C0:01:23:83:7D:A2.
I would really appreciate any guidance you guys might have on how to achieve that because I have 25,000 entries to reformat.
Thank you!
If one has TEXTJOIN():
Formula in B1:
=TEXTJOIN(":",,MID(UPPER(A1),{1,3,5,7,9,11},2))
In B1, formula copied down :
=REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(UPPER(A1),3,,":"),6,,":"),9,,":"),12,,":"),15,,":")
If you do not have TEXTJOIN() then try CONCATENATE() function. B1 formula is
=UPPER(CONCATENATE(MID(A1,1,2),":",MID(A1,3,2),":",MID(A1,5,2),":",MID(A1,7,2),":",MID(A1,9,2),":",MID(A1,11,2)))
I have a range of numbers (Y6:AC6) which are obtained as a function of =RIGHT(Text,Num) formula. When I try to apply COUNTIFS formula on these numbers which you can see on the picture, it doesn't work. However, when I try the same formula on actual numbers, but not functional results of RIGHT(Text,Num), it works. What am I missing here? can someone help me please? thanks.
My understanding is that INDEX MATCH is a more efficient process than using VLOOKUP in Excel 2010. Is this correct? If so, I need some help converting my VLOOKUP formula to an INDEX MATCH formula:
=VLOOKUP(A5&B5,CHOOSE({1,2},EDM.dbo.current_chemical_prices!A:A&EDM.dbo.current_chemical_prices!B:B,EDM.dbo.current_chemical_prices!E:E),2,0) * F5
Thank you!
I was able to figure it out. For some reason, it was not running as an array. Very odd...but solved at least!
=INDEX(EDM.dbo.current_chemical_prices!E:E,MATCH(A5&B5,EDM.dbo.current_chemical_prices!A:A&EDM.dbo.current_chemical_prices!B:B,0))
Im struggling to find a solution for a formula conversion from excel to powerpivot.
Its relatively simple in excel. I want to return a value that says >8000 or <8000 depending on the value of column A (measured depth)
Here is the formula in excel
=IF(A2>8000,"> 8,000",(IF(A2<8001,"<8,000",IF(A2=0,"UNDEFINED"))))
Any help would be greatly appreciated
Thanks
David
Try something like this:
=IF([columnName]>8000,"> 8,000",IF([columnName]<8001,"<8,000","UNDEFINED"))