Here is what my spreadsheet looks like:
In A13 I want to display:
Team1 vs. Team2
where Team1 would be the content from cell B5 and Team2 the content from cell B6…
How can I achieve that?
In the picture you can see my attemp to do that: =B5 vs. =B6
You can only have one equals sign in a formula.
Do either what @Ondkloss answered, or this:
=B5 & " vs." & B6
If you want to be really hardcore and have a formula you can drag down for all 4 cells, try this. Paste this to cells A12 through A15:
=INDIRECT("B"&(ROW()-12)*2+3) & " vs. " & INDIRECT("B"&(ROW()-12)*2+4)
To show “EE5 winner” change the above to this instead:
=IF(INDIRECT("B"&(ROW()-12)*2+3)="","EE" & (ROW()-12)*2+1 & " Winner",INDIRECT("B"&(ROW()-12)*2+3)) & " vs. " & IF(INDIRECT("B"&(ROW()-12)*2+4)="","EE" & (ROW()-12)*2+2 & " Winner",INDIRECT("B"&(ROW()-12)*2+4))
Answer:
=CONCATENATE(B5, " vs. ", B6)
to join multiple text strings into one.
Tags: excelexcel