LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default 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" 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



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Find monthly average but have average automatically configured kimbafred Excel Discussion (Misc queries) 2 August 8th 07 12:28 AM
Linking data from a new sheet (semi-)automatically Alison KS Excel Discussion (Misc queries) 1 March 21st 07 12:26 PM
Find Replace list empty Robert H Excel Discussion (Misc queries) 0 February 6th 07 04:41 PM
Replace all empty or " by the content of the cell above it hccatmo Excel Worksheet Functions 3 November 9th 06 08:52 PM
Forcing a macro to (semi-) automatically run Richard Owlett Excel Programming 2 February 21st 04 06:10 PM


All times are GMT +1. The time now is 06:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"