Excel Help Needed
| Posted: 27th May 2010 - 00:06 Quote | ||
Can anyone tell me how to return a NULL value from a formula in an Excel Sheet? Either by standard formula or VBA. Note - I'm not talking about returning a 0 value or an empty string ("") but a NULL value, as if the cell had never had anything entered into it. Any ideas? Cheers Neil |
||
Hello World
Bespoke applications for web & mobile, Wordpress development, skiffle |
||
| View Profile Send Message Leave Testimonial Find Posts | ||
| Posted: 27th May 2010 - 00:08 Quote | ||
ISBLANK function any good? |
||
| View Profile Send Message Leave Testimonial Find Posts TWEET ME @bukkthetrend | ||
| Posted: 27th May 2010 - 00:10 Quote | ||
for testing if a cell is NULL, yes. Not for setting a cell as NULL. |
||
Hello World
Bespoke applications for web & mobile, Wordpress development, skiffle |
||
| View Profile Send Message Leave Testimonial Find Posts | ||
| Posted: 27th May 2010 - 00:25 Quote | ||
Interesting problem Neil, my initial feeling was that you were going to be out of luck, but I then came across this work around Enter in to cell A1 =B1 C1 exactly as it is written i.e.
equals sign Excel cant return anything for the "B1 space C1" part becaue it doesnt know what you are trying to do (is it range? is it a sum?) so it returns a null value which in turn gives you a #NULL error Hope that makes sense |
||
| View Profile Send Message Leave Testimonial Find Posts TWEET ME @CarlNixon | ||
| Posted: 27th May 2010 - 00:49 Quote | ||
Unfortunately that doesn't work for me. I'm formatting raw data, which could be up to 5000 rows in Sheet1, and outputting it to Sheet2 for export to CSV, but only want it to format lines that contain data, otherwise my CSV ends up with 2 lines of data and 4998 line of commas or #NULL!s any suggestions (other than build a PHP app to do the job...)? |
||
Hello World
Bespoke applications for web & mobile, Wordpress development, skiffle |
||
| View Profile Send Message Leave Testimonial Find Posts | ||
| Posted: 27th May 2010 - 00:56 Quote | ||
Neil - This VBA seems to satisfy ISBLANK() :
Sub ZapA1() (In A2 I'm using =IF(ISBLANK(A1),"BLANK","NOT BLANK") as a test)
That works in 2010 |
||
| View Profile Send Message Leave Testimonial Find Posts | ||
| Posted: 27th May 2010 - 01:03 Quote | ||
Import it to an Access table, make all fields "text" and then once loaded simply "copy-paste" it back into excel? Then reset your numeric fields and rewrite your formulas. It sounds complicated but it's a doddle compared to the rest of these solutions!! |
||
4N Group Leader at Chesterfield. Get your data set up efficiently, and with regular RESULTS to really help build your business, and with big time saving, the time spent setting it up properly is tiny compared to the results.....get in touch! I really struggle to get across everything I can help with in 40 seconds!! Recently achieved "UberGeek" status with an article in PCPro magazine :-) LInk here: http://www.thedata-analysts.co.uk/index_files/PCPro_Full.jpg Tony 07900 525575 |
||
| View Profile Send Message Leave Testimonial Find Posts TWEET ME @tonydataman | ||
| Posted: 27th May 2010 - 09:14 Quote | ||
Why not give Sean Blessitt a call at Astradyne Ltd, he's ya man!! www.astradyne.com |
||
|
||
| View Profile Send Message Leave Testimonial Find Posts | ||
| Posted: 27th May 2010 - 09:31 Quote | ||
Neil, I'm just about to do the school run, but I can sort this, no worries. Can we have a chat after 9:15? Thanks to Nick and Alex for the mentions.
Cheers
|
||
| View Profile Send Message Leave Testimonial Find Posts TWEET ME @PCshortcuts | ||














RSS Feed
