+ Reply to Thread
Results 1 to 6 of 6

Need help autofilling LETTERS down and NUMBERS across which reference cells in formula

  1. #1
    Registered User
    Join Date
    10-30-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    14

    Need help autofilling LETTERS down and NUMBERS across which reference cells in formula

    Hey there,

    Here is my formula:
    =IFERROR(LEFT(SUBSTITUTE([standardexchange.xlsx]Table 1'!C3,",","."),FIND(":",[standardexchange.xlsx]Table 1'!C3)-1)/RIGHT(SUBSTITUTE([standardexchange.xlsx]Table 1'!C3,",","."),LEN([standardexchange.xlsx]Table 1'!C3)-FIND(":",[standardexchange.xlsx]Table 1'!C3)),SUBSTITUTE([standardexchange.xlsx]Table 1'!C3,",",".")+0)

    What this does, is it extracts data from the cell C3 in an external worksheet. The data it extracts looks like this 1:8,9 or 9,2:8. It then takes that, and divides it into a decimal so it looks nicer. That part works great.

    The only problem is, I need to auto-fill it down. However, when I auto-fill that down, instead of doing D3, E3, F3 - it does C4, C5, C6. I understand this is by design, but I'd like to make it stop that and do D3, E3, F3.

    Another issue is, when I auto-fill to the right, it does D3, E3, F3 when I want it to do C4, C5, C6.

    So, basically I want to reverse the auto-fill default functionality. Instead of filling numbers vertically, I want letters. Instead of filling letters horizontally, I want numbers.

    I've spent hours on this and I've found a few things that work stand-along (like CHAR) but, when I use them to reference a cell in this complicated formula - not so much.

    Any ideas? THANKS!!

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

    Re: Need help autofilling LETTERS down and NUMBERS across which reference cells in formula

    Try entering the formula in one cell and fill it down/across as needed
    I know, that's not the result you want..keep reading

    THEN, Highlight the whole range of formulas, and use Find/Replace to replace = with '=
    This turns the formulas in to text strings.
    Copy the range, Paste special - Values - Transpose
    Then reverse the Find/Replace to replace '= with =
    Turns them back into formulas.
    Last edited by Jonmo1; 11-18-2014 at 05:59 PM.

  3. #3
    Registered User
    Join Date
    10-30-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    14

    Re: Need help autofilling LETTERS down and NUMBERS across which reference cells in formula

    Thank you for the thought!

    I'm afraid doing that got me only so far. At the paste - transpose section, I get an error saying "This selection is not valid. There are several possible reasons:"

    Sorry, anything else? :D

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

    Re: Need help autofilling LETTERS down and NUMBERS across which reference cells in formula

    Oops, the paste spcecial transpose can only go into a blank area...

    Try putting the formula in an available unused area (outside of where you actually want the result to go)
    fill it accross/down
    Do the find/replace
    Copy it

    Now paste special - values - transpose onto the area (make sure it's blank and large enough) you want the result to be.
    Then reverse the find/replace.

  5. #5
    Registered User
    Join Date
    10-30-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    14

    Re: Need help autofilling LETTERS down and NUMBERS across which reference cells in formula

    You sir, saved me literally 30 or more lunch hours. Thank you, thank you, thank you!

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

    Re: Need help autofilling LETTERS down and NUMBERS across which reference cells in formula

    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. Formula for sum of cells which contain letters and numbers
    By Hussain Anees in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-09-2014, 05:33 AM
  2. Replies: 1
    Last Post: 08-15-2013, 06:07 PM
  3. [SOLVED] autofilling numbers and letters ie: 20a-20x,21a-21x...
    By liz5818 in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 08-08-2013, 09:14 AM
  4. Decrementing cell reference in formula when autofilling?
    By Rickyrb101 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-10-2013, 05:19 AM
  5. Decrementing cell reference in formula when autofilling?
    By Rickyrb101 in forum Outlook Formatting & Functions
    Replies: 3
    Last Post: 04-10-2013, 05:19 AM

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