Assigning Text To Cells Thru Formulas

J.R. RichardFan

New Member
Joined
Jul 3, 2007
Messages
20
Hello all,

I have a particular problem that I need some guidance with..


I have a formula that figures out a whole number. (ex. 335)

I have a text label (ex. "A") assigned to that particular formula outcome.

What I need is to automatically fill a group of cells with the text assigned to the outcome of the formula (ex. 355 cells filled with "A")

Any thoughts?

Thanking you in advance,
Adam
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

JackDanIce

Well-known Member
Joined
Feb 3, 2010
Messages
9,890
Office Version
  1. 365
Platform
  1. Windows
Enter below into any cell and is that what you mean?
Code:
=IF(71*5=355,"A","Not A")
 

J.R. RichardFan

New Member
Joined
Jul 3, 2007
Messages
20
Thanks for the response!

The example you gave me printed only 1 "A"

I need the formula to print 355 A's in 355 cells in one shot....

Thanks!
 

JackDanIce

Well-known Member
Joined
Feb 3, 2010
Messages
9,890
Office Version
  1. 365
Platform
  1. Windows
You haven't provided enough information I'm afraid. Specifically, what range do you want "A" to be printed in and what is the formula that drives this?

One suggestion is input that formula below, copy it, then select the range of 355 cells and hit paste. If you have calculation set to automatic, it should fill that entire range with the value of "A"

Otherwise, a VBA based solution may be better...
 

Forum statistics

Threads
1,143,674
Messages
5,720,234
Members
422,271
Latest member
xbaca

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
Top