Hi,
I'm pretty sure this is an easy thing but for the life of me I can't figure out how to get this to work...
I am trying the following formula in Excel 2010 to find a part of text in a cell and then, depending on whether it finds the text, return the corresponding values:
=IF(A1="*Total*";B1;0)
It should be pretty simple, right?
The problem is that even though cell A1's value is:- Item 1 Total, the formula consistently returns 0. However, If I do a straight up
=IF(A1="Item 1 Total";B1;0) it returns the value in cell B1 correctly.
What am I doing wrong?! I have thousands of lines with different item names, so doing it the latter way isn't feasible.
Ps:-just in case you're wondering, my regional settings are configured to require a semi-colon as separator, instead of just a comma.
Thanks in advance for your help!
Ana
I'm pretty sure this is an easy thing but for the life of me I can't figure out how to get this to work...
I am trying the following formula in Excel 2010 to find a part of text in a cell and then, depending on whether it finds the text, return the corresponding values:
=IF(A1="*Total*";B1;0)
It should be pretty simple, right?
The problem is that even though cell A1's value is:- Item 1 Total, the formula consistently returns 0. However, If I do a straight up
=IF(A1="Item 1 Total";B1;0) it returns the value in cell B1 correctly.
What am I doing wrong?! I have thousands of lines with different item names, so doing it the latter way isn't feasible.
Ps:-just in case you're wondering, my regional settings are configured to require a semi-colon as separator, instead of just a comma.
Thanks in advance for your help!
Ana