+ Reply to Thread
Results 1 to 3 of 3

If any cell across many columns has a contradictory sign to any other

  1. #1
    Forum Contributor
    Join Date
    08-06-2012
    Location
    Brighton, UK
    MS-Off Ver
    MS Office 2021 and 2019
    Posts
    114

    If any cell across many columns has a contradictory sign to any other

    Apologies if this is a really simple problem that I can't see how to solve, but I've now been trying for some time and cannot.

    I wish to check across several (18) colums whether any one of the cells has a number of the opposite sign to any other. A sort of "if any sign A1:R1 opposite sign to other, then Ignore, or Average the numbers". I know I can do it by an exhaustive set of ORs and ANDs checking each cell against each other (which is OK for a couple of columns), but gets too tedious as the number of columns rises.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: If any cell across many columns has a contradictory sign to any other

    if any sign A1:R1 opposite sign to other
    I am unable to understand the above quote

    Can you please brief if with example if possible?


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Contributor
    Join Date
    08-06-2012
    Location
    Brighton, UK
    MS-Off Ver
    MS Office 2021 and 2019
    Posts
    114

    Re: If any cell across many columns has a contradictory sign to any other

    OK; I'll try.

    I wish to detect whether, in a range of 18 cells across 18 columns, any two cells have entries that are of opposite sign. If so, I want to ignore that whole row of data. If not, then just average the whole row of data.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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