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

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

pritcham

Board Regular
Joined
Oct 26, 2005
Messages
128
If the values are currently empty then use "Is Null" (without speach marks) for the criteria

Cheers
Martin
 

pritcham

Board Regular
Joined
Oct 26, 2005
Messages
128
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
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,117
Messages
5,835,484
Members
430,358
Latest member
zzc1128

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
Top