Hi all, first time on and realise that this question has probably been asked countless times before but I haven't found any suitable answers yet...so apologies in advance if this is a repeated question.
I am trying to use LOOKUP to display certain numbers when a range of words are searched. As such, this is the formula I am using:
=LOOKUP(N2,{"Once Only","Per Day","Per Week","Per Month","Per Year"},{1,1,5,20,260})
E.g. If "Once Only" is found a '1' is displayed and so on and so forth..
Problem is, Excel can't seem to find "Per Month" within a range of cells that do contain it, so it never shows the number 20!
Any idea why this could be? I've tried checking for spaces in the 'Per Month' cells but no joy. I'm using Excel 2003 if that makes any difference.
Any help is much appreciated
thanks
Peter
I am trying to use LOOKUP to display certain numbers when a range of words are searched. As such, this is the formula I am using:
=LOOKUP(N2,{"Once Only","Per Day","Per Week","Per Month","Per Year"},{1,1,5,20,260})
E.g. If "Once Only" is found a '1' is displayed and so on and so forth..
Problem is, Excel can't seem to find "Per Month" within a range of cells that do contain it, so it never shows the number 20!
Any idea why this could be? I've tried checking for spaces in the 'Per Month' cells but no joy. I'm using Excel 2003 if that makes any difference.
Any help is much appreciated
thanks
Peter