# Excel - COLUMN Function Problem - Expert Solution

Question description:
This user has given permission to use the problem statement for this blog.

I'm Apply a =RANDBETWEEN formula in one cells want to apply Formula to entire column and run formula when i hit the entire on the particular cell
Solved by M. S. in 20 mins
This is the chat thread from the real Excelchat help session. It contains no private user information.
Excelchat Expert 14/08/2017 - 07:46
Welcome and thank you for choosing Got It Pro!
Excelchat Expert 14/08/2017 - 07:47
I understand that you are trying to apply RANDBETWEEN() formula in a column, and you want it to refresh each time to select a cell and press enter. Is that correct?
User 14/08/2017 - 07:48
yes
Excelchat Expert 14/08/2017 - 07:49
Ok, thanks for the confirmation. Please give me a moment while I solve this for you.
User 14/08/2017 - 07:49
yes sir i'm waiting
User 14/08/2017 - 07:50
i want unique code and i write randbetween formula in one cell
User 14/08/2017 - 07:51
second time when i reach the unique code cell in hima rows ..... can formula automatically .....? otherwse hitting enter tab something like
Excelchat Expert 14/08/2017 - 07:52
The formula you have entered in Cell C2 is correct. It should work in Excel and refresh each time you get into a cell and press enter.
Excelchat Expert 14/08/2017 - 07:52
Excelchat Expert 14/08/2017 - 07:52
Diagnostic Phase
User 14/08/2017 - 07:52
No sir .... i just only want work for excel
Excelchat Expert 14/08/2017 - 07:53
I just tried it on Excel, and it's working well.
User 14/08/2017 - 07:54
can u explain me sir
Excelchat Expert 14/08/2017 - 07:54
Sure!
User 14/08/2017 - 07:54
everytime i'm paste the formula in particular cells so pls help me
Excelchat Expert 14/08/2017 - 07:55
You just need to copy this formula and paste it in the cell below. When you use Excel, as soon as you press 'Enter' key, the Random Unique Code will automatically change.
Excelchat Expert 14/08/2017 - 07:56
Does that help?
User 14/08/2017 - 07:57
actually i don't need to copy the formula and paste on every particular cells i just want to apply the formula to entire cell
Excelchat Expert 14/08/2017 - 07:58
Do you mean you want to apply it to an entire column?
Excelchat Expert 14/08/2017 - 07:58
Column C in this case?
User 14/08/2017 - 07:58
yes column c
Excelchat Expert 14/08/2017 - 07:58
Ok
Excelchat Expert 14/08/2017 - 07:59
Just select the cell where the formula currently is, copy it.
User 14/08/2017 - 07:59
yes
Excelchat Expert 14/08/2017 - 07:59
Then select all the cells you want to paste it, and press CTRL+V
Excelchat Expert 14/08/2017 - 08:00
Like I have just copied Cell C2
User 14/08/2017 - 08:00
can u do one time again
Excelchat Expert 14/08/2017 - 08:00
Now I'll select the entire column D by clicking where 'D' is written
Excelchat Expert 14/08/2017 - 08:00
Now I'll press CTRL + V to paste the formula
Excelchat Expert 14/08/2017 - 08:00
You see?
User 14/08/2017 - 08:01
ya i see
Excelchat Expert 14/08/2017 - 08:01
Discussion Phase
Excelchat Expert 14/08/2017 - 08:01
Excelchat Expert 14/08/2017 - 08:02
By the way, the session timer for this window is about to run out. In case it does and you have further questions, please click on the link below and we'll chat there:
Excelchat Expert 14/08/2017 - 08:02
User 14/08/2017 - 08:02
yes somewhat is all about paste the formula ..... but i want the cells run its formula when i reached on it
User 14/08/2017 - 08:02
yes sure sir
Excelchat Expert 14/08/2017 - 08:03
Oh, for that you'll have to write a VBA code.
Excelchat Expert 14/08/2017 - 08:03
Do you want to do that?
User 14/08/2017 - 08:03
can u give a code
User 14/08/2017 - 08:03
i want to do
Excelchat Expert 14/08/2017 - 08:04
Sure, please give me a minute.
User 14/08/2017 - 08:04
yes sir
User 14/08/2017 - 08:04
pls fast session time is run out soon
Excelchat Expert 14/08/2017 - 08:04
If the session locks out, please click on the link that I gave above. I'll write "Done" in cell A1 of that spreadsheet as soon as I'm done.
Excelchat Expert 14/08/2017 - 08:05
And I can upload an Excel sheet to Drive and share a link to that as well.
User 14/08/2017 - 08:05
ok .... i'm waiting there

This is the output file from the real Excelchat help session:
This is an example of the expert help you can get. It contains no private user information.

Get instant expert help with Excel and Google Sheets

#### Post your problem and you’ll get expert help in seconds.

Your message must be at least 40 characters
Your privacy is guaranteed. Your session will not be used for blog unless you give us persmission.