Formula / Partial part of result to change as per sourced cell value

DeepuTheGreat

New Member
Joined
May 7, 2018
Messages
4
Hi Friends,

I am working on a project. I need partial part of the result derived from a formula, to keep changing based on the sourced cell value.
for e.g. A1 is the sourced cell. It has the value as "Team A".
In B1, the result should occur as "The Game is won by Team A".
Now, if the value of A1 changes to "Team B", B1 should also get changed to "The Game is won by Team B".
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Hi & welcome to MrExcel
How about
="the game is won by " & A1
 
Upvote 0
Dear Sir

Thank you very much for welcoming me to MrExcel and for your feedback.

The formula suggested by you is working. Only thing how to add space in two words. Though I am leaving space inbetween two words and '&", they are appearing in continuous mode, making impression of one word only.

Pls advise.
 
Upvote 0
Can you post the formula you are using.
My solution will give a space before the value of A1
 
Upvote 0
Dear Sir,

Thank you for your feedback.

I have written the formula as below:
=IF(TEAMA!C104>TEAMB!C104,TEAMA!B102 & "WIN BY" & TEAMA!C104-TEAMB!C104 & "RUN",0)

Result appears as : A1WIN BY1RUN

There is no space in between (a) A1 and WIN, (b) BY and 1, (c) 1 and RUN.

Pls advise.
 
Upvote 0
Just add spaces as needed like " WIN BY "
 
Upvote 0
Glad to help & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,215,730
Messages
6,126,527
Members
449,316
Latest member
sravya

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top