Criteria to update a black cell

stafire_18

Board Regular
Joined
Dec 8, 2004
Messages
162
I'm having trouble trying to create a criteria for an update query to do the following.


I have a lot of blank cells that need to be updated to read "AAS Other" I tryed the following in the criteria
update to: "aas other"
criteria: ""
this does not do anything
& when I leave the criteria blank then it changes all the cells to read "AAS Other" I do not want this becuase there are other cells that have correct information in the same column.
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
If the values are currently empty then use "Is Null" (without speach marks) for the criteria

Cheers
Martin
 
Upvote 0
Yes - in the criteria, if no data has been entered into a field then it holds a 'value' of Null (unless you've specified a default value) so if you put "Is Null" into the criteria bit then it will only update records where no value has been entered into that field.

Cheers
Martin
 
Upvote 0

Forum statistics

Threads
1,215,516
Messages
6,125,285
Members
449,218
Latest member
Excel Master

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top