Random text generator

bbvierra

New Member
Joined
Jun 7, 2007
Messages
38
Sheet 1 - A1=New York
A2=Detroit
A6=3/31/2011
A7=1:05 PM

F6= A random choice between A1 and A7 of Sheet 2

A11=New York
A12=Detroit
A16=3/31/2011
A17=1:05 PM

F16= A random choice between A1 and A7 of Sheet 2 , but those A1s and A2s would have to update to A11 and A12. That's my problem that I don't know how to fix.

(This would continue down to A1101)

Sheet 2 - A1=""&A1&" "&A2&" "&TEXT(A6,"m/d")&" - "&TEXT(A7,"h:mm AM/PM")&""
A2="See "&A1&" "&A2&""&TEXT(A6,"dddd")&" - "&TEXT(A7,"h:mm AM/PM")&""
A3="&A1& "&A2&" "&TEXT(A6,"m/d")&" - "&TEXT(A7,"h:mm AM/PM")&" Game"
A4=Go for "&A1&" "&A2&" "&TEXT(A6,"m/d")&" - "&TEXT(A7,"h:mm AM/PM")&""
A5=Go to "&A1&" "&A2&" "&TEXT(A6,"m/d")&" - "&TEXT(A7,"h:mm AM/PM")&""
A6=See "&A1&" "&A2&" "&TEXT(A6,"m/d")&" - "&TEXT(A7,"h:mm AM/PM")&""
A7=Get ready for "&A1&" "&A2&" "&TEXT(A6,"m/d")&" - "&TEXT(A7,"h:mm AM/PM")&""

I might create more cells beyond A7, down to A20 or so.

Does anyone know a good solution to my problem? I'm open to making some changes to my code if I'm going about it the wrong way. I just need those formulas on Sheet 2 to update from A1 to A11, etc.

Let me know if this is confusing.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,224,592
Messages
6,179,789
Members
452,942
Latest member
VijayNewtoExcel

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