Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Batch update cell values

I need to batch update all cell values in a sheet over the value of 200 to
become 200.

How can I accomplish this?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Batch update cell values

Use a helper sheet ..

Assuming source data in Sheet1, within A1:D20 (say)

In Sheet2,

Put in A1:
=IF(Sheet1!A1="","",IF(Sheet1!A1200,200,Sheet1!A1 ))
Copy A1 across to D1, fill down to D20
Then copy A1:D20, & paste and overwrite A1:D20 in Sheet1
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Moshe Rosenberg" wrote:
I need to batch update all cell values in a sheet over the value of 200 to
become 200.

How can I accomplish this?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Batch update cell values

I am not sure what to do with Sheet2. When I put that into the A1 cell, then
what? What actually updates the data?

I would be grateful if you can clarify.

Thanks!

"Max" wrote:

Use a helper sheet ..

Assuming source data in Sheet1, within A1:D20 (say)

In Sheet2,

Put in A1:
=IF(Sheet1!A1="","",IF(Sheet1!A1200,200,Sheet1!A1 ))
Copy A1 across to D1, fill down to D20
Then copy A1:D20, & paste and overwrite A1:D20 in Sheet1
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Moshe Rosenberg" wrote:
I need to batch update all cell values in a sheet over the value of 200 to
become 200.

How can I accomplish this?

  #4   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Batch update cell values

As stated in my response, I assumed your source data was in Sheet1, within
A1:D20. Sheet2 is just a helper sheet, which is used to examine Sheet1's
source data and change the values as required, using a corresponding range
filled with the formulas as given. Hope that clarifies ..
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Moshe Rosenberg" wrote:
I am not sure what to do with Sheet2. When I put that into the A1 cell, then
what? What actually updates the data?

I would be grateful if you can clarify.

Thanks!


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Batch update cell values

Thanks, that helped!

"Max" wrote:

As stated in my response, I assumed your source data was in Sheet1, within
A1:D20. Sheet2 is just a helper sheet, which is used to examine Sheet1's
source data and change the values as required, using a corresponding range
filled with the formulas as given. Hope that clarifies ..
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Moshe Rosenberg" wrote:
I am not sure what to do with Sheet2. When I put that into the A1 cell, then
what? What actually updates the data?

I would be grateful if you can clarify.

Thanks!




  #6   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Batch update cell values

Delighted to hear that, Moshe.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Moshe Rosenberg" wrote in
message ...
Thanks, that helped!



  #7   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Batch update cell values

oops, " .. paste .. " in line:
Then copy A1:D20, & paste and overwrite A1:D20 in Sheet1


should read: " .. paste special as values ... "
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Batch update cell values

Sub Make_200()
Dim cell As Range
For Each cell In Selection
If cell.Value 200 Then
cell.Value = 200
End If
Next
End Sub


Gord Dibben MS Excel MVP

On Tue, 20 Feb 2007 07:52:15 -0800, Moshe Rosenberg
wrote:

I need to batch update all cell values in a sheet over the value of 200 to
become 200.

How can I accomplish this?


Reply
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
Values in spreadsheets do not update Sandy at the Chrome Excel Worksheet Functions 5 July 11th 06 02:37 PM
How to delete in batch the same color format letters in a cell yang xin Excel Worksheet Functions 1 February 5th 06 04:42 AM
Update of cell values after insert row? dazman Excel Worksheet Functions 2 August 23rd 05 07:07 AM
How does one update and transfer values between cells and not the. JC Excel Discussion (Misc queries) 2 January 13th 05 07:15 PM
How does one update and transfer values between cells and not the. JC Excel Discussion (Misc queries) 0 January 12th 05 08:29 PM


All times are GMT +1. The time now is 02:43 AM.

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"