+ Reply to Thread
Results 1 to 2 of 2

Run formulae on paired data

Hybrid View

  1. #1
    Registered User
    Join Date
    01-22-2015
    Location
    London
    MS-Off Ver
    2013
    Posts
    1

    Run formulae on paired data

    Hi!

    Just joined this forum as I have a difficult task to carry out using Excel (2013).

    Let's say my data is in the form:

    NAME DATA1 DATA2 DATA3 DATA4

    1. AAAA 1 2 3 4
    2. BBBB 5 6 7 8
    3. CCCC 2 4 5 6
    4. DDDD 4 5 6 7
    5. EEEE 4 3 2 6


    I wish to generate results such that EACH PAIR of rows are used in some formula (that I already have), and it produces a result. Example:

    Results

    1.Row_12
    2.Row_13
    3.Row_14
    4.Row_15
    5.Row_23 (I must skip Row_21 as this has already been done in 1.)
    6.Row_24
    etc.

    NOTE: A row cannot be paired to itself.

    Does anyone have any ideas how this can be done in Excel? Or can it not? Please feel free to ask more questions!

    Thanks in advance!

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Run formulae on paired data

    I'd run this type of repeat calculation with VB.

    Sub Permuations()
    
    For i = 1 To 5
        For j = 1 To 5
            If j > i Then
                Range("D" & Rows.Count).End(xlUp).Offset(1) = Cells(i, 1) & Cells(j, 1)
            End If
        Next
    Next
    
    End Sub
    A formula could be applied to include the references of each.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

+ 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. reorder paired data in rows
    By rebelbuttmunch in forum Excel General
    Replies: 3
    Last Post: 04-29-2014, 06:12 AM
  2. [SOLVED] Drag cell formula for paired data
    By Phily915 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-11-2014, 01:09 PM
  3. [SOLVED] paired bar chart displaying difference as the data label
    By rlowrance in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 08-05-2013, 09:01 PM
  4. Need help creating scatter plot of paired data
    By jondmeyer in forum Excel General
    Replies: 1
    Last Post: 05-18-2011, 11:58 AM
  5. summing averages of paired data
    By sesquiup in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-24-2007, 02:12 AM

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