Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-14-2018, 12:05 AM
xor xor is offline Formula to get text from multiple cells in Excel 2007 Windows 10 Formula to get text from multiple cells in Excel 2007 Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,103
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Marcia

You cannot use ISNA in the above case.
Select D4 and (in the Formula field) highlight exactly the following part of the formula:
=INDEX($B$2:$B$7,SMALL(IF($A$2:$A$7=TODAY( ),ROW($B$2:$B$7)-ROW($B$2)+1),ROWS($B$2:$B4)))


press Ctrl+C to take a copy and paste it in an empty cell (say I4). Now put an equal sign in front of this and hold down Ctrl and Shift before pressing Enter to make it an array formula. With I4 selected press Evaluate Formula and press the Evaluate button 8 times after which you will see the following:
INDEX($B$2:$B$7, SMALL(IF(FALSE, FALSE, FALSE, FALSE, 5, 6), 3))
But the SMALL function can't return the third smallest value from an array with only 2 values (different from FALSE). That is why you get the #NUM! error.
And ISNA(#NUM!)=FALSE, so finally you have =IF(ISNA(#NUM!, "", #NUM!) which returns #NUM!
Reply With Quote
  #2  
Old 11-14-2018, 05:19 AM
Marcia's Avatar
Marcia Marcia is offline Formula to get text from multiple cells in Excel 2007 Windows 7 32bit Formula to get text from multiple cells in Excel 2007 Office 2007
Expert
 
Join Date: May 2018
Location: Philippines
Posts: 554
Marcia has a spectacular aura aboutMarcia has a spectacular aura aboutMarcia has a spectacular aura about
Default

Thank you Xor for the precise instructions on how I should evaluate a formula. I didn't know about this process. I could now analyze how a formula with several nested functions work.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula to get text from multiple cells in Excel 2007 Help with Formula to extracting text from text string Haha88 Excel 9 02-05-2018 01:04 AM
Formula to Extract text from a text string Haha88 Excel 2 11-14-2017 01:32 AM
If text in column then formula in other Grubermen Excel 1 09-06-2017 06:35 AM
Formula to get text from multiple cells in Excel 2007 Editing the text a formula gets me Jiing Chiang Excel 7 02-08-2016 10:01 PM
extract text with formula s7y Excel 7 06-05-2013 06:18 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:45 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