+ Reply to Thread
Results 1 to 3 of 3

Wish I was good at this !!!!

  1. #1
    Registered User
    Join Date
    10-24-2006
    Posts
    10

    Wish I was good at this !!!!

    Hi Guys great site...

    Hope mines a simple problem..

    On worksheet 1 I display the result of a calculation performed on worksheet 2. The formula and answer are correct and display the way I want, OK so far. I now want to repeat this horizontally on sheet 1 based on cells arranged vertically on sheet 2. However I want to drag the cell horizontally so I dont have to input the formula each time in every cell. This copies the formula OK but it looks at the wrong cells in sheet 2, I think it's cos I'm dragging horizontally and the cells in the formula are arranged vertically . Is this easy to fix without redesigning the whole sheet ?
    Cheers Big Ears

    Eeeee




  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Response

    You could try a formula combining OFFSET and CELL functions

    Something like

    =OFFSET($E$2,CELL("col"),0)
    Martin

  3. #3
    Forum Contributor
    Join Date
    09-28-2006
    Posts
    122

    Try a Macro

    you could use a macro something like this

    Sub Macro1()

    Sheets("Sheet1").Select
    Range("A1:A20").Select
    Selection.Copy
    Sheets("Sheet2").Select
    Range("A1").Select
    Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _
    False, Transpose:=True
    End Sub

    change the sheet names and range to suit your application.

    Manually you can do a copy ----- paste special (highlight the transpose option)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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