+ Reply to Thread
Results 1 to 7 of 7

How to copy properly

  1. #1
    Registered User
    Join Date
    03-21-2015
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Windows 7
    Posts
    40

    How to copy properly

    I want to Copy adjustment from Trial balance as mentioned in excel file. COuld you please help me with how to copy those adjustment in simple way. I have attached excel file. the issue and the result I want to achieve.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    03-21-2015
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Windows 7
    Posts
    40

    Re: How to copy properly

    I just want to copy each line in which in front of those lines there is a figure. So both line and figures to be copied to below with the help of formula.

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: How to copy properly

    Maybe someone can come up with an easier way but I did it with ARRAYED Formulas
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    In Col A (A19 of Sheet2)
    =IF(MOD(ROWS($A$19:$A19),3)=0,"",INT((ROWS($A$19:$A19)-1)/3)+1)

    In Col B (B19)
    =IF(MOD(ROWS($A$19:$A19),3)=0,"",IF(MOD(ROWS($A$19:$A19),3)=1,"Dr", "Cr"))

    In Col C, Arrayed formula
    =IFERROR(IF(B19="Dr",INDEX( $C$2:$C$17, MATCH(TRUE, ISNUMBER(INDEX($D$2:$Q$17, ,A19)),0)), INDEX($C$2:$C$17, MATCH(2, 1/(INDEX($D$2:$Q$17, ,A19))))),"")

    In Col D, Arrayed formula
    =IFERROR(IF(B19="Dr", INDEX($D$2:$R$17, MATCH(TRUE, ISNUMBER(INDEX($D$2:$R$17, ,A19)),0), A19), INDEX($D$2:$R$17, MATCH(2, 1/ISNUMBER(INDEX($D$2:$R$17, ,A19))), A19)),"")
    Attached Files Attached Files
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Registered User
    Join Date
    03-21-2015
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Windows 7
    Posts
    40

    Re: How to copy properly

    Thank you Chemist B. It really Help. Could you pls also tell me if in one coloumn there is 3 figures, what I should change in array formula, so that it consider.
    For Ex: Intangible 400
    PPE -300
    inventory -100

  5. #5
    Registered User
    Join Date
    03-21-2015
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Windows 7
    Posts
    40

    Re: How to copy properly

    Could we make formula like, to find itself how many number of figures in one coloumn, it consider whether it is Dr or Cr and then do the same thing as you showed in formula

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: How to copy properly

    The current formula won't do. I'll need to rethink it.

  7. #7
    Registered User
    Join Date
    03-21-2015
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Windows 7
    Posts
    40

    Re: How to copy properly

    I have put new excel related with this issue. Your help really will help me to save a lot of time
    Attached Files Attached Files

+ 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. copy using filter not working properly
    By hai_krk in forum Excel General
    Replies: 1
    Last Post: 07-05-2014, 03:14 AM
  2. [SOLVED] Percentages won't copy and paste properly
    By tnovak in forum Excel General
    Replies: 3
    Last Post: 02-18-2014, 11:09 AM
  3. [SOLVED] Copy not working properly Excel 2010
    By Flybridge in forum Excel General
    Replies: 9
    Last Post: 04-23-2013, 04:30 PM
  4. [SOLVED] New Code Copy Doesn't Work properly
    By Kyle123 in forum Suggestions for Improvement
    Replies: 3
    Last Post: 07-18-2012, 08:00 AM
  5. Cannot copy/paste properly in Excel
    By AndrewYap in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 04-17-2012, 06:38 PM
  6. Formula doesn't copy down properly...
    By akexcel in forum Excel General
    Replies: 3
    Last Post: 04-29-2011, 11:57 AM
  7. [SOLVED] Value does not fill down (copy) properly.
    By Karina in forum Excel General
    Replies: 2
    Last Post: 02-01-2005, 03:06 PM

Tags for this Thread

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