Hi All
Not sure how to explain this but I have 2 areas on my sheet, one displaying names and each name has a quantity, then on another area I have 2 empty cells the user types in a name into the first cell and the second is automatically completed using data taken from the table with the quantities.
I have 12 names and can use an IF statement for the first 8, but after that for some reason I cannot enter any more. The statement I am using is IF(B10=B18,C18,IF(B10=B19,C19,0)) etc for each cell up to B25 and this all works fine, but when I try to go on from B26 to B29 I can't add any more to my nested IF statement, I read someplace that I can only have 7 statements (I think) in a nested IF.
So how can I change this so that it works for all entries on the table? is there a completely different way that I should be doing this? or is using the IF statement the way to go. Hope that's explained with some degree of sense.
Thanks
Not sure how to explain this but I have 2 areas on my sheet, one displaying names and each name has a quantity, then on another area I have 2 empty cells the user types in a name into the first cell and the second is automatically completed using data taken from the table with the quantities.
I have 12 names and can use an IF statement for the first 8, but after that for some reason I cannot enter any more. The statement I am using is IF(B10=B18,C18,IF(B10=B19,C19,0)) etc for each cell up to B25 and this all works fine, but when I try to go on from B26 to B29 I can't add any more to my nested IF statement, I read someplace that I can only have 7 statements (I think) in a nested IF.
So how can I change this so that it works for all entries on the table? is there a completely different way that I should be doing this? or is using the IF statement the way to go. Hope that's explained with some degree of sense.
Thanks