Cell empty or not?

ds-fenwick

Board Regular
Joined
May 29, 2002
Messages
53
Hi folks...

I have a number of cells which contain references to another cell:

ie. ='Other Sheet'!A1

Is there anyway i can cycle through my cells and tell which cells only contain a formula, and which contain the data referenced from the other sheet?


Cheers,

Dan
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
If you want to know if they're blank (i.e. not returned any data from the referenced cell) then try for say b1 - =if(a1="","blank",a1)
 
Upvote 0
Thanks for your suggestion... Its not ideal, but may have to do...

I should have said that I'm cycling through in VBA... and ultimately i want to delete rows which have not picked up referenced data...

Cheers,

Dan
 
Upvote 0
"...ultimately i want to delete rows which have not picked up referenced data..."

Dave Hawley might already have a solution for you - see the extract from workbook example on his VBA page:

http://www.ozgrid.com/

Paddy
 
Upvote 0

Forum statistics

Threads
1,215,338
Messages
6,124,357
Members
449,155
Latest member
ravioli44

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