+ Reply to Thread
Results 1 to 3 of 3

Sequential letters in a formula

  1. #1
    Registered User
    Join Date
    12-17-2014
    Location
    UK
    MS-Off Ver
    Mac 2010
    Posts
    1

    Sequential letters in a formula

    This is probably a very easy question but thanks to anyone who can answer it.

    I have a matrix of 15 x 30. I need to sum up some of the items in the matrix, basic formula of (A1 + B1). I need to then autofill with A doing so by sequentially number and B doing so by letter. So logically the next formula would be (A2 + C1), (A3 + D1), and so on. How do I do this?

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Sequential letters in a formula

    Hi and welcome to the forum!

    Unfortunately you've given very little information.

    You say "and so on", but that doesn't tell us what results should be returned once we reach the limit of either the first row or first column in your matrix (whichever happens first). Do we then take sums from other rows/columns, e.g. pairings of entries from column B with entries from row 2?

    Anyway, the best I can do is to give you this solution and trust that you are able to tailor it to your needs: based on a matrix in A1:E5, this formula in your first cell of choice:

    =SUM(INDEX($A$1:$E$5,ROWS($1:1),1),INDEX($A$1:$E$5,1,1+ROWS($1:1)))

    which will give the equivalent result to:

    =SUM(A1,B1)

    and, when copied down to further rows, the equivalent to:

    =SUM(A2,C1)
    =SUM(A3,D1)
    =SUM(A4,E1)


    ...etc.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,415

    Re: Sequential letters in a formula

    Or the same result, but using OFFSET, instead...

    =OFFSET($A$1,ROWS($1:1)-1,,)+OFFSET($A$1,,ROWS($1:1),)
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

+ 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: 3
    Last Post: 01-30-2014, 05:31 AM
  2. [SOLVED] Making a Part# List, Sequential Increments with Letters and numbers in front...
    By kpl39 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-31-2012, 08:29 PM
  3. [SOLVED] Create sequential letters (A, B, C) in sequential cells
    By Theale in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 08-29-2012, 02:47 PM
  4. Replies: 4
    Last Post: 07-29-2012, 08:40 AM
  5. [SOLVED] Non-sequential VLOOKUP function -OR- sequential sort of web query
    By Eric S in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-28-2005, 04:06 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