Hi,
i think this may be relatively easy but I have been searching high and low and cant find an answer,
I have an index formula which uses an if function in order to return a figures generated from two criteria derived from outputs in other cells.
Formula works fine when the a value in the range it searches exactly match the value in the cell however I cannot seem to find a way get it to search the range and match if cells contains the value.
Formula below with the problem section highlighted:
Cell D1 on Sheet1 has a value generated by a formula say for example 'Apples'
Transaction Column in Table 1 contains values which may contain Apples but within an string of text say 'Apples 213'
I have tried putting "*"&D1&"*" around the cell reference, ISnumber(search and Isnumber(match(...etc to no avail,
Is there a way I can amend my formula so that I am able to use this formula searching in a range of values which contain the reference value within strings of text?
Thank you for your help!
i think this may be relatively easy but I have been searching high and low and cant find an answer,
I have an index formula which uses an if function in order to return a figures generated from two criteria derived from outputs in other cells.
Formula works fine when the a value in the range it searches exactly match the value in the cell however I cannot seem to find a way get it to search the range and match if cells contains the value.
Formula below with the problem section highlighted:
Code:
=IFERROR(INDEX(Table1[[#All],[Credit]],SMALL(IF((Table1[[#All],[Entity]]=Sheet1!C1)*[U][B](Table1[[#All],[Transaction]]=(Sheet1!D1)[/B][/U]),ROW(Table1[[#All],[Entity]]),""),2),1),0)
Cell D1 on Sheet1 has a value generated by a formula say for example 'Apples'
Transaction Column in Table 1 contains values which may contain Apples but within an string of text say 'Apples 213'
I have tried putting "*"&D1&"*" around the cell reference, ISnumber(search and Isnumber(match(...etc to no avail,
Is there a way I can amend my formula so that I am able to use this formula searching in a range of values which contain the reference value within strings of text?
Thank you for your help!