Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everyone,
Can you tell me if the following expression is correct please?
sum(if(wildmatch(Narrative,'STKADJ*'>0 or Narrative,'GRN*')>0,StockValue))
I need it to give me a figure of the StockValue for anything where the Narrative is wildmatched to STKADJ and GRN.
Thanks
If I understood correctly:
=sum(if(wildmatch(Narrative,'STKADJ*','GRN*')>0,StockValue))
Hi,
Change it to
sum(if(wildmatch(Narrative,'STKADJ*') or wildMatch( Narrative,'GRN*'),Sum(StockValue)))
Celambarasan
If I understood correctly:
=sum(if(wildmatch(Narrative,'STKADJ*','GRN*')>0,StockValue))
Thanks for that. It didn't quite work but i changed it to
sum(if(wildmatch(Narrative,'STKADJ*') or wildMatch( Narrative,'GRN*'),StockValue))
Which worked.
Thanks
Hi Stefan,
Thanks that also worked and is easier to understand.
Thanks