+ Reply to Thread
Results 1 to 2 of 2

Need help: how to semi-automatically replace an empty value in a row with a row average?

  1. #1
    Fred
    Guest

    Need help: how to semi-automatically replace an empty value in a row with a row average?

    I have an excel data file which has about 50 columns and more than 1000
    rows, in some rows, values are missing at different columns. I need to
    replace those empty values in each row with a row average. How do I do
    that?
    Thanks,
    Fred


  2. #2
    Bernie Deitrick
    Guest

    Re: Need help: how to semi-automatically replace an empty value in a row with a row average?

    Fred,

    Insert a new column A, and in cell A2 (Assuming your numbers start in row 2) enter the formula

    =Average(B2:IV2)

    and copy down to match your 1000+ rows.

    Then select your data table in columns B through your last column, use Edit / Go To... Blanks,
    press OK, then type =indirect("A" & ROW()) and then press Ctrl-Enter. Then select columns B through
    last column again, copy, then pastespecial values, delete your new column A, and you're done.

    HTH,
    Bernie
    MS Excel MVP


    "Fred" <[email protected]> wrote in message
    news:[email protected]...
    >I have an excel data file which has about 50 columns and more than 1000
    > rows, in some rows, values are missing at different columns. I need to
    > replace those empty values in each row with a row average. How do I do
    > that?
    > Thanks,
    > Fred
    >




+ 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