I have problem I'm hoping someone could help me with.
I have five different text values in 5 cells. I am trying to combine these values into one cell with a comma in between each. However the trick is that if there is no value in (H6) then it must place the word "and" between the cell (F6) and (G6). If there is a value in (H6) then place the word "and" between (G6) and (H6).
In the same statement I must also include If there is not value in (G6) then it must place the word "and" between the cell E6 and F6.
Please see image attached. I am trying to get the highlighted statements into one cell. So multiple IF statements into one cell. Anyone?
=IF(G8=0,(D8)&", "&(E8)&" and "&(F8),(D8)&", "&(E8)&", "&(F8)&" and "&(G8)=IF(H8=0,(D8)&", "&(E8)&", "&(F8)&" and "&(G8),(D8)&", "&(E8)&",
"&(F8)&", "&(G8)&" and "&(H8)))
I cant figure out the code.
Many thanks.
Alex
Edit: The original image can be found here if size of the inlined is too small.