+ Reply to Thread
Results 1 to 5 of 5

Filtering/Replacing Problem

  1. #1
    Registered User
    Join Date
    02-13-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Filtering/Replacing Problem

    Greetings
    I'm not new to Excel, but I'm far from being on the same level of most of you. Here's my problem:


    A B C D E F
    11/13/2009 0:55 METAR KORD 130055Z AUTO 17016KT
    11/13/2009 1:55 METAR KORD 131155Z 16017G21KT 10SM


    I'm trying to average/ sum hundreds if not thousands of rows of data like the ones above. The problem is that the data in Column E sometimes contains the text "AUTO", when it does, the value I need to work with falls under Column F. Is there any way I can set up my spreadsheet to remove the AUTO and replace it with the value in Column F? Or am I missing something, is there an easier way to work this? Thank you in advance. GR
    Attached Files Attached Files
    Last edited by ranng; 02-13-2010 at 11:00 PM.

  2. #2
    Registered User
    Join Date
    02-13-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Filtering/Replacing Problem

    Sorry, the above data didn't post the way I would have liked it to.

    The two columns in question should read:

    Row 1 (E) AUTO (F) 17016KT
    Row 2 (E) 16017G21KT (F) 10SM


    Sorry for any confusion.

  3. #3
    Registered User
    Join Date
    09-23-2003
    Location
    Melbourne
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: Filtering/Replacing Problem

    you could:

    Filter on column E for the word "Auto".
    Then in E1 enter = F1
    Fill formula down
    Turn filter off
    Select Column E and do
    Copy & Paste Special Values to get rid of formulas

    Brad

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Filtering/Replacing Problem

    in your sheet they are cols f and g ---not e and f
    assuming the sheet is correct then in a spare column just put
    =IF(F1="auto",G1,F1) then drag down and use that column to calculate from
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Registered User
    Join Date
    02-13-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Filtering/Replacing Problem

    Thank you for your response, this has saved me many hours of work. You guys are the best!

+ 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