Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Identifying non-returning formula (blank Cell)

Hi, I am using this formula, which is hopefully self-explanatory
in B7...
=IF(ISBLANK(C7)," ",IF(SEARCH(C7,$B$1:$H$1,1),OFFSET($B$1:$H$1,1,0), ""))

My problem is that C7 contains a formula (which returns a blank cell if
conditions aren't met). I assume ISBLANK thinks this formula means C7 isn't
blank. Is there another function I can use to get B7 to return a blank
result if C7 is also blank?

Many thanks
Vibeke
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Identifying non-returning formula (blank Cell)

On the face of it, try changing your front IF check from:
=IF(ISBLANK(C7)," ", ..

to: =IF(C7="","", ..

Any good? hit YES below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"Vibeke" wrote:
Hi, I am using this formula, which is hopefully self-explanatory
in B7...
=IF(ISBLANK(C7)," ",IF(SEARCH(C7,$B$1:$H$1,1),OFFSET($B$1:$H$1,1,0), ""))

My problem is that C7 contains a formula (which returns a blank cell if
conditions aren't met). I assume ISBLANK thinks this formula means C7 isn't
blank. Is there another function I can use to get B7 to return a blank
result if C7 is also blank?

Many thanks
Vibeke

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Identifying non-returning formula (blank Cell)

Hi Max,
Thanks, I tried that but for some reason it returns #VALUE! I am not sure
why. Any ideas?
I guess I could insert another coloumn and then use ISERROR, but it seems
clunky.
Thanks
Vibeke

"Max" wrote:

On the face of it, try changing your front IF check from:
=IF(ISBLANK(C7)," ", ..

to: =IF(C7="","", ..

Any good? hit YES below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"Vibeke" wrote:
Hi, I am using this formula, which is hopefully self-explanatory
in B7...
=IF(ISBLANK(C7)," ",IF(SEARCH(C7,$B$1:$H$1,1),OFFSET($B$1:$H$1,1,0), ""))

My problem is that C7 contains a formula (which returns a blank cell if
conditions aren't met). I assume ISBLANK thinks this formula means C7 isn't
blank. Is there another function I can use to get B7 to return a blank
result if C7 is also blank?

Many thanks
Vibeke

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Identifying non-returning formula (blank Cell)

Maybe you need TRIM ..
Try: =IF(TRIM(C7)="","", ...
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"Vibeke" wrote:
Hi Max,
Thanks, I tried that but for some reason it returns #VALUE! I am not sure
why. Any ideas?
I guess I could insert another coloumn and then use ISERROR, but it seems
clunky.
Thanks
Vibeke


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Identifying non-returning formula (blank Cell)

Hmmm. Never used TRIM before, so it's nice to know about it, but I couldn't
make it work either. I should have mentioned, I am using SEARCH because C7
contains text and a date (and is based on a VLOOKUP) - so it's not just
straight text.

Many thanks for your suggestions.

"Max" wrote:

Maybe you need TRIM ..
Try: =IF(TRIM(C7)="","", ...
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"Vibeke" wrote:
Hi Max,
Thanks, I tried that but for some reason it returns #VALUE! I am not sure
why. Any ideas?
I guess I could insert another coloumn and then use ISERROR, but it seems
clunky.
Thanks
Vibeke




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Identifying non-returning formula (blank Cell)

Couldn't help but feel that the scope has since crept beyond your original
issue,
Is there another function I can use to get B7 to return a blank result if C7 is also blank?


Try:
=IF(TRIM(C7)="","",IF(ISERROR(SEARCH(C7,$B$1:$H$1, 1)),"",OFFSET($B$1:$H$1,1,0)))
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"Vibeke" wrote:
Hmmm. Never used TRIM before, so it's nice to know about it, but I couldn't
make it work either. I should have mentioned, I am using SEARCH because C7
contains text and a date (and is based on a VLOOKUP) - so it's not just
straight text.

Many thanks for your suggestions

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Identifying non-returning formula (blank Cell)

Used properly, TRIM had rid me of #VALUE! but is not producing any results.
The formula in Column C is an ISERROR and VLOOKUP combination, so it will
appear blank the VLOOKUP doesn't find anything, and will present text and a
date if it does.

The formula for the B column is to check whether the formula in the adjacent
C cell has produced a visible result, and if so to compare it to the range in
B1to H1....

Oh....drat, drat, drat. I've just realised that in my efforts to simplify
things, I've totally screwed up my explanation and you've thus been looking
for a completely different solution. B1:H1 is in another spreadhseet. This
was the original formula, which I shoudl have posted in its entirity

=IF(ISBLANK($C7),"
",IF(SEARCH($C7,TaskAllocation!$B$1:$H$1,1),OFFSET (TaskAllocation!$B$1:$H$1,1,0),""))

I'm sorry
Vibeke
"Max" wrote:

Couldn't help but feel that the scope has since crept beyond your original
issue,
Is there another function I can use to get B7 to return a blank result if C7 is also blank?


Try:
=IF(TRIM(C7)="","",IF(ISERROR(SEARCH(C7,$B$1:$H$1, 1)),"",OFFSET($B$1:$H$1,1,0)))
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"Vibeke" wrote:
Hmmm. Never used TRIM before, so it's nice to know about it, but I couldn't
make it work either. I should have mentioned, I am using SEARCH because C7
contains text and a date (and is based on a VLOOKUP) - so it's not just
straight text.

Many thanks for your suggestions

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Identifying non-returning formula (blank Cell)

Nothing further to add. You could use the earlier, adapted to suit for the
different sheetname involved. Maybe others could offer you better.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Identifying non-returning formula (blank Cell)

Thanks, I had tried that. Many thanks for your efforts.
"Max" wrote:

Nothing further to add. You could use the earlier, adapted to suit for the
different sheetname involved. Maybe others could offer you better.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---

  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Identifying non-returning formula (blank Cell)

Post the formula that you have in C7.

Pete

On Sep 4, 5:02*am, Vibeke wrote:
Thanks, I had tried that. *Many thanks for your efforts.



"Max" wrote:
Nothing further to add. You could use the earlier, adapted to suit for the
different sheetname involved. Maybe others could offer you better.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---- Hide quoted text -


- Show quoted text -


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
Formula returning a blank cell if answer is zero Rich Excel Discussion (Misc queries) 7 December 17th 08 06:49 AM
returning blank when reference cell is blank mslylan2u Excel Worksheet Functions 4 June 6th 08 09:09 PM
Returning Value of Next Non-Blank Cell in Column Monk[_2_] Excel Discussion (Misc queries) 2 March 27th 08 02:26 PM
Identifying first non blank cell in 3 different columns belvy123 Excel Discussion (Misc queries) 5 February 21st 07 06:36 AM
returning blank cell sbigelow Excel Worksheet Functions 2 October 9th 05 03:53 PM


All times are GMT +1. The time now is 03:31 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"