Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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" wrote in message oups.com... 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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find monthly average but have average automatically configured | Excel Discussion (Misc queries) | |||
Linking data from a new sheet (semi-)automatically | Excel Discussion (Misc queries) | |||
Find Replace list empty | Excel Discussion (Misc queries) | |||
Replace all empty or " by the content of the cell above it | Excel Worksheet Functions | |||
Forcing a macro to (semi-) automatically run | Excel Programming |