+ Reply to Thread
Results 1 to 3 of 3

Testing two rows of variables for two different formula

  1. #1
    Registered User
    Join Date
    04-25-2013
    Location
    Mokum
    MS-Off Ver
    Excel 2013
    Posts
    2

    Testing two rows of variables for two different formula

    Hi all,

    First thanks for reading and taking the time to help me!

    I have a problem I have two rows of data each containing Dollar values. What I want excel to do is to compare these with each other on basis of simple formula. The first row I will call A and the second B, they each have the same date that the value occurs. If the value in A is higher than B I would like Excel to do this: 1/A, the A being the value of that certain set of data (e.g. so for t=1). If the value of A is lower than B I want excel to do this: -1/A, again the A must be for that period (e.g. t=15).

    I hope you can help me!


    Greets,


    Rick
    Last edited by rdeleest1990; 04-25-2013 at 08:35 AM.

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,122

    Re: Testing two rows of variables for two different formula

    =IF( A1>B1, 1/A1, If( A1<B1, -1/A1, "A and B are equal"))
    copy down

    what do you want to do with equal

    not sure what the t=1 or t=15 does

    or i have missed the requirement, and this is on groups of dates or statistics T tests ?

  3. #3
    Registered User
    Join Date
    04-25-2013
    Location
    Mokum
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: Testing two rows of variables for two different formula

    Thank you for your reply,
    Funny that you notice it, i am actually testing for the fact if they differentiate from each other.
    I have just found a way to get it done, so thanks for your response but it is solved!

    gr.

+ 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