Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 28
Default Fill a column randomly with 5 & 10

Hi

I want fill a column in my list with multiples of 5 between 5 and 30.
is there any formula which can solve my problem.

thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Fill a column randomly with 5 & 10

=RANDBETWEEN(1,6)*5
--
Gary''s Student - gsnu200846
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default Fill a column randomly with 5 & 10

=5*RANDBETWEEN(1,6)
and fill it down as necessary!
Regards,
Stefi

€˛shaji€¯ ezt Ć*rta:

Hi

I want fill a column in my list with multiples of 5 between 5 and 30.
is there any formula which can solve my problem.

thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Fill a column randomly with 5 & 10

Hi,

For constant values that won't change when the worksheet calculates try
this. Right click your sheet tab, view code and paste this in and run it

Sub Fillem()
For Each c In Range("A1:A100")
c.Value = Application.Run("ATPVBAEN.XLA!Randbetween", 1, 6) * 5
Next
End Sub

Mike

"shaji" wrote:

Hi

I want fill a column in my list with multiples of 5 between 5 and 30.
is there any formula which can solve my problem.

thanks

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
randomly fill LaDdIe Excel Worksheet Functions 3 December 3rd 06 09:19 PM
How do I randomly sort data in a column? goody Excel Discussion (Misc queries) 1 October 2nd 06 03:36 PM
Generate column of 1's and 0's randomly Ian Engelbrecht Excel Discussion (Misc queries) 6 April 1st 06 02:52 PM
How do I randomly shuffle the cells in a column? Jason D Excel Discussion (Misc queries) 2 October 13th 05 08:34 AM
Randomly alter a column of names Scudo New Users to Excel 4 September 27th 05 08:24 AM


All times are GMT +1. The time now is 01:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"