+ Reply to Thread
Results 1 to 4 of 4

How to use loop to extract numbers

  1. #1
    Forum Contributor
    Join Date
    12-30-2012
    Location
    Israel
    MS-Off Ver
    2007, 2016
    Posts
    642

    How to use loop to extract numbers

    Please see attached samlpe file.
    I need to "extract" the numbers in range a1:a5, in a way that if a1=2, then vba write in column c, the value 2 twice, and if a2=4, then vba write in column c the value 4, four times etc.
    Thanks
    Attached Files Attached Files
    Please * if you like the answer

  2. #2
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,528

    Re: How to use loop to extract numbers

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    12-30-2012
    Location
    Israel
    MS-Off Ver
    2007, 2016
    Posts
    642

    Re: How to use loop to extract numbers

    Thank you very much! :-)

  4. #4
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,528

    Re: How to use loop to extract numbers

    Thanks for letting us know and Good Luck

+ 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] Extract the text and numbers basis on specific numbers included
    By Neilesh Kumar in forum Excel General
    Replies: 6
    Last Post: 08-26-2018, 01:34 PM
  2. [SOLVED] Extract two numbers from text if two numbers exist
    By maym in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-02-2017, 01:08 PM
  3. [SOLVED] How to Display Numbers Only OR How To Extract Numbers In A Cell
    By PaddyP in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-17-2016, 12:32 PM
  4. How do extract numbers with a pattern from a list of numbers ?
    By kcolraw in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-01-2012, 04:04 AM
  5. Replies: 2
    Last Post: 05-02-2006, 11:20 AM
  6. Extract Fractional Numbers as Numbers NOT Date
    By MrBill in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-03-2005, 03:50 PM
  7. Extract Fractional Numbers as Numbers NOT Date
    By MrBill in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-02-2005, 06:17 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