Don't know what approach to do in order to output the expected result
Don't know the right formula to use in this type of result.
Output the expected result using query or any function from a table.
This is the expecting result I want. Please help . thank you guys.
Related
=COUNTIFS((Tab1!C2:Tab1!C250),"*sam*") & ((Tab1!B2:Tab1!B250), ">1-Nov-2020")
In the above formula, I'm trying to get the count of 'person names whose name is sam and the value which is past 1-Nov-2020.
While trying to fetch the count using the above formula, it is showing Formula parse error.
Please analyze and tell where might I went wrong.
You need to correct your syntax to:
=COUNTIFS('Tab1'!C2:C9,"sam", 'Tab1'!B2:B9,">1-Nov-2020")
Please read more on how the COUNTIFS function work.
EDIT (following OP's comment)
The correct syntax would be
COUNTIFS(criteria_range1, criterion1, [criteria_range2, …], [criterion2, …]) meaning:
=COUNTIFS('Tab1'!C2:C9,"sam", 'Tab1'!B2:B9,">1-Nov-2020", 'Tab1'!B2:B9,">=1-11-2020")
BUT
Since you refer to dates 1-Nov-2020 is the same as 1-11-2020.
So you only need
=COUNTIFS('Tab1'!C2:C9,"sam", 'Tab1'!B2:B9,">=1-11-2020")
OR
=COUNTIFS('Tab1'!C2:C9,"sam", 'Tab1'!B2:B9,">=1-Nov-2020")
I have a formula which is a combination of vlookup(),lookup() and indirect() functions:
=IFERROR(VLOOKUP(C3,INDIRECT(LOOKUP("x",AD3:AH3,$AD$1:$AH$1)&"!"&"$D$3:$AB$325",TRUE),24,FALSE),"")
I need to convert this formula in a way that it is an arrayformula(). I have done the following:
=ARRAYFORMULA(IFERROR(VLOOKUP(C3:C,INDIRECT(LOOKUP("x",{(AD3:AD),(AH3,AH}), $AD$1:$AH$1) &"!"&"$D$3:$AB$325",TRUE),24,FALSE),""))
But, I am always getting an error with lookup part, which mentiones that "lookup evaluates out of range". Any suggestions, where could be an error?
I wrote this formula in the spreadsheet: =if(match(AR$2,$A5:$E5,0),AR$2,"")
If there is no match, it's supposed to leave the cell blank, instead it gives #N/A. but if there is a match, it gives the value. Can anybody show me how to correct this? thanks.
You could use iferror
try something like:
=iferror(if(match(AR$2,$A5:$E5,0),AR$2),"")
In google spreadsheets, I have the formula:
=VLOOKUP("hello",'Sheet1'!$C$2:$C$65, 1)
My expectation is that this would echo the value "hello" if it was found in Sheet1 in range C2:C65, and be null otherwise. It instead gives the value from C35 ("hello" is found in C17 of Sheet1).
Does anyone know what I'm doing wrong this?
Thanks!
VLOOKUP returns #N/A where the formula is correct but the value sought is not present where searched for.
The fourth parameter for the function is optional but defaults to TRUE which may give incorrect results when the search column is not sorted.
Ref
I think what you are doing wrong is 'instructing' the formula that the column to be searched is sorted in order when it is not. Sorting is critical for a binary search.
If you interpret How to match info between tabs in a Google spreadsheet the same way as I did there is an example that works on Web Apps.
I would like to generate a formula, as shown, which will search a term in column D.
=IF(SUM(ISNUMBER(SEARCH("blue",D1:D))*1),"1","0")
but I see the error #Value!.
Have you an idea what I did wrong?
Your error might be because you are trying to sum strings. Try:
=ArrayFormula(sum(ISNUMBER(SEARCH("blue",D1:D))*1))