+ Reply to Thread
Results 1 to 8 of 8

Extract data across multiple columns?

Hybrid View

  1. #1
    Registered User
    Join Date
    09-23-2010
    Location
    Columbus, Oh
    MS-Off Ver
    Excel 2007
    Posts
    11

    Extract data across multiple columns?

    Hi, I was wondering if anyone could help me figure out a way to extract the largest (actually newest) date captured by our systems across multiple columns.

    Example: (This is what I need it to do)
    | Column A | | Column B | | Column B | | Column D | | Column E |


    |Last Check -------------------------------------------------> | | Max/Large|

    | #N/A | | #N/A | | 9/22/10 | | 1/0/00 | | *9/22/10 |* (returned value)
    | 9/21/10 | | #N/A | | #N/A | | 1/0/00 | | *9/21/10 |* (returned value)

    The problem occurs when I try to compare the #N/A with the "real" values, and the value returned is #N/A .
    But I need to add the #N/A because these are not the only values in that specific column.

    I hope this is clear because I could really use the help. Thanks.Edit: Forgot the attachment. Again...Thanks.
    Attached Files Attached Files
    Last edited by Fao; 09-23-2010 at 11:30 AM.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,356

    Re: Extract data across multiple columns?

    Try:

    =IF(ISERROR(D3),F3,MAX(D3,F3))

    and copy it down.

  3. #3
    Registered User
    Join Date
    09-23-2010
    Location
    Columbus, Oh
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Extract data across multiple columns?

    Hey, Thanks alot for the help and quick repsonse. But I still run into the #N/A problem. If #N/A shows up in another column and not just the ones specified in the formula. I need a way to compare the data across columns and extract the newest/latest date no matter what information is in each respective column.

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,356

    Re: Extract data across multiple columns?

    OK then, try this:

    =MAX(IFERROR($B3,0),IFERROR($C3,0),IFERROR($D3,0),IFERROR($E3,0),IFERROR($F3,0))

  5. #5
    Registered User
    Join Date
    09-23-2010
    Location
    Columbus, Oh
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Extract data across multiple columns?

    OMG!!! This is exactly what I was looking for. Thank you so much! I work with Altiris/Symantec and this will help me shift through this Data mining project I'm doing that much easier. If I can help you with something let me know. Thanks again!

  6. #6
    Registered User
    Join Date
    09-23-2010
    Location
    Columbus, Oh
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Extract data across multiple columns?

    Hey, thanks again for the help with the data/date formula but I have another question. Is the inverse of this formula possible?

    =MAX(IFERROR($B3,0),IFERROR($C3,0),IFERROR($D3,0),IFERROR($E3,0),IFERROR($F3,0))

    where MAX would be MIN, and I extract the lowest/oldest records across columns?

  7. #7
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,356

    Re: Extract data across multiple columns?

    Hi Fao,
    For a Min of your values try:
    =MIN(IFERROR($B3,TODAY()),IFERROR($C3,TODAY()),IFERROR($D3,TODAY()),IFERROR($E3,TODAY()),IFERROR($F3,TODAY()))
    This will work unless the earlies date is in the future.

  8. #8
    Registered User
    Join Date
    09-23-2010
    Location
    Columbus, Oh
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Extract data across multiple columns?

    Thank You.Perfect. Formula works great. I really, really, appreciate the help.

+ 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