How to add a comma to the results of this formula

PETRODATAjames

New Member
Joined
Aug 20, 2022
Messages
21
Office Version
  1. 365
Platform
  1. Windows
How to add a comma to the results of this formula?
I would like to see the results in column E to have a comma added after the number, e.g. E4 27460, E5 12196, E6 49064, and so on.

Thanks

1690379717887.png
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Custom formatting too.

0","

on the cells in question.

MrExcelPlayground19.xlsx
AMAN
1830087,32981,
1919146,37890,
2048322,41911,
2144852,21524,
2242176,38357,
2311121,20966,
2448978,37674,
2519441,47740,
2627927,33346,
2725441,30049,
2823864,12877,
2940364,38619,
3029210,32452,
3120875,21489,
3228430,40797,
3343473,19481,
3421272,40337,
3518317,30907,
3614166,35699,
3723995,41483,
Sheet2
Cell Formulas
RangeFormula
AM18:AM37AM18=INDEX(UNIQUE(RANDARRAY(50,1,10000,49999,TRUE)),SEQUENCE(20))&","
AN18:AN37AN18=INDEX(UNIQUE(RANDARRAY(50,1,10000,49999,TRUE)),SEQUENCE(20))
Dynamic array formulas.
 
Upvote 0
How about
Excel Formula:
=INDEX(UNIQUE(RANDARRAY(C4^2,,C5,C6,1)),SEQUENCE(C4))&","
Although they will no longer be numbers.
 
Upvote 0

Forum statistics

Threads
1,215,143
Messages
6,123,277
Members
449,093
Latest member
Vincent Khandagale

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