Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 01-11-2016, 07:50 AM
ljg713 ljg713 is offline Finding the nth Blank Value in a Row of Text Windows 7 64bit Finding the nth Blank Value in a Row of Text Office 2010 64bit
Novice
Finding the nth Blank Value in a Row of Text
 
Join Date: Dec 2015
Posts: 20
ljg713 is on a distinguished road
Default

I decided that my original answer works well, except for one issue.

=IF(COUNTIF(E1:H1,"?*")>=2,INDEX(E1:H1,SMALL(IF(E1 :H1<>"",COLUMN(E1:H1)-COLUMN(E1)+1),1)),"") (for the first nonblank)

gives me what I want, but it needs to return a blank if there is no text to be returned (for example, if a particular row only has 3 non-blank text cells, it needs to still work for the 4th non-blank but just return "" so it appears blank). Instead, in the cases where there isn't any text to be returned, I get a #NUM! error.

Any tips for how to get rid of this error and replace it with empty text like ""?

Thanks!
Reply With Quote
 

Tags
formula help



Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding the nth Blank Value in a Row of Text finding a string containing a combination of formats and adding text before Marco Word VBA 1 11-02-2015 05:08 PM
Finding the nth Blank Value in a Row of Text Finding and Replacing a word with text copied to clip board spc94 Word VBA 3 06-25-2015 04:46 AM
Finding varying text in an MS Word file sergiodcq Word 1 07-08-2014 03:12 AM
Finding specific text within body of email Tammfran Outlook 0 03-14-2014 02:32 PM
Finding a text style in a cell jimbassett Excel 1 02-10-2010 08:39 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:15 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft