+ Reply to Thread
Results 1 to 4 of 4

copy contents from one sheet to another if <=

  1. #1
    Registered User
    Join Date
    07-22-2016
    Location
    usa
    MS-Off Ver
    2013
    Posts
    5

    copy contents from one sheet to another if <=

    if sheet1 D1 is <= 1-19 then copy contents of D7 Sheet2 to D24 Sheet1. It gets tricky now. I may be overthinking this.... Im curious how you can come up with this solution.

    If sheet1 D1 is <= 20-39 then copy contents of D8 Sheet2 to D24 Sheet1. This will go all the way to 1000. The numbers or in increments of 20 as you can see in the spreadsheet.

    The point of this is to copy the contents in Column D that coincide with 1-19, 20-39, 40-59... etc.. This will be for future addition to the spreadsheet. THANK YOU!
    Attached Files Attached Files
    Last edited by 1cup; 07-26-2016 at 08:46 AM.

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: copy contents from one sheet to another if <=

    Try
    =INDEX(Sheet2!$D$7:$D$28,CEILING(($D$1+1)/20,1))

    Although the book you posted doesn't really jive with your description. D24 on Sheet1 is already populated with a text string.

  3. #3
    Registered User
    Join Date
    07-22-2016
    Location
    usa
    MS-Off Ver
    2013
    Posts
    5

    Re: copy contents from one sheet to another if <=

    Yes this works perfectly! Thank you!

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: copy contents from one sheet to another if <=

    You're welcome.

+ 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. Replies: 14
    Last Post: 05-11-2015, 04:54 AM
  2. Replies: 3
    Last Post: 03-29-2015, 09:44 AM
  3. To get the copy of contents on next sheet, whenever print is taken
    By tameen42 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-16-2014, 03:16 AM
  4. Function to copy cell contents from sheet 1 to sheet 2
    By cameron213 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-26-2014, 08:13 PM
  5. Copy contents from one sheet and paste in different arrangement in other sheet
    By kmlprtsngh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-13-2010, 11:29 AM
  6. copy sheet to new sheet, rename it, return cell contents
    By soldstatic in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-11-2009, 01:49 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