+ Reply to Thread
Results 1 to 4 of 4

Selecting cells in a one line array

  1. #1
    Registered User
    Join Date
    08-27-2007
    Posts
    2

    Selecting cells in a one line array

    I'm new here and really don't know how to search this question on here to see if it has been answered.

    Problem: I am creating a spreadsheet to help create a nightly report.
    I have five cells that will determine the output to the report field.
    The data in the five cells are either "False" or the text for the report field.
    Because the text for the report field can be in any of those five cells, how can I pick the right one out without having to use a huge number of if statements.

    I'm thinking an array, but I am having aproblem getting it to work. I'm also thinking I may have to do this in VB, but since I have not learned VB yet....
    I'm stumped.

  2. #2
    Forum Contributor
    Join Date
    07-05-2007
    Location
    Lexington, MA
    Posts
    302

    If it is blank, put it in anyway

    Please Login or Register  to view this content.
    Attached Files Attached Files
    FrankBoston is the pen name for Andrew Garland, Lexington MA

  3. #3
    Registered User
    Join Date
    08-27-2007
    Posts
    2
    My problem is more like this.

    * Col a Col b Col c Col d Col e Result
    1 Text1 False False False False Text1
    2 False False Text3 False False Text3
    3 False Text2 False False False Text2
    4 False False False False Text5 Text5
    5 False False False Text4 False Text4

    Text could even be repeated in each column, but not in each row.
    The text is specific to the column. It will always be four columns of false and one of text.
    Last edited by tperry; 08-27-2007 at 11:29 PM.

  4. #4
    Forum Contributor
    Join Date
    07-05-2007
    Location
    Lexington, MA
    Posts
    302

    We can do it across, too.

    How about this?
    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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