+ Reply to Thread
Results 1 to 4 of 4

add string in random cells of column for each same id

  1. #1
    Registered User
    Join Date
    09-20-2019
    Location
    lebanon
    MS-Off Ver
    2016
    Posts
    36

    add string in random cells of column for each same id

    Hi I'm trying to add string = "bid canceled" in a column in range 2 to 6 time for each same Auction-ID if the bid status is empty:

    Please Login or Register  to view this content.
    the attachment in sheet one is the output that I except, I didnt know how to insert string 2 times or 3 or 4 ...6 times in random cells for each auction id if the cells are empty,any idea for that?
    Attached Files Attached Files

  2. #2
    Forum Expert WideBoyDixon's Avatar
    Join Date
    10-03-2016
    Location
    Sheffield, UK
    MS-Off Ver
    365
    Posts
    2,182

    Re: add string in random cells of column for each same id

    Give this a try:

    Please Login or Register  to view this content.
    WBD
    Office 365 on Windows 11, looking for rep!

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: add string in random cells of column for each same id

    Your upload was a .xlsx file and therefore didn't contain the macro. Please upload the .xlsm file

    In addition please indicate in a narrative form exactly what you want to do, the rules you apply and for a few of your results explain how you arrived at them.

    It seems there's an element of randomness in your system, but rather than reverse engineer your macro, which presumably isn't giving the results you want since you've raised the problem here, I'd rather know the overall aim.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Registered User
    Join Date
    09-20-2019
    Location
    lebanon
    MS-Off Ver
    2016
    Posts
    36

    Re: add string in random cells of column for each same id

    Quote Originally Posted by WideBoyDixon View Post
    Give this a try:

    Please Login or Register  to view this content.
    WBD
    thanks so much

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Merge random cells in a column in sequenced order in another column
    By Chris1972 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-10-2018, 04:49 PM
  2. Replies: 6
    Last Post: 08-07-2018, 09:25 AM
  3. Generating random number string based on Alphanumeric String
    By ridemeve in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-15-2014, 04:56 PM
  4. [SOLVED] Generating Random String from Text in Cells
    By abbeycrombie in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-18-2013, 12:09 PM
  5. [SOLVED] selecting random cells from a column and paste to another.
    By dxblade in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-01-2013, 09:04 AM
  6. Only two values (numbers) for 150 random cells in a column of 300 cells
    By andrugrasu in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-20-2011, 03:17 AM
  7. Replies: 7
    Last Post: 09-01-2007, 04:29 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1