Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-13-2018, 05:24 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

Here you go:



=IF(ISNA(INDEX($B$1:$B$4,SMALL(IF($A$1:$A$4=TODAY( ),ROW($B$1:$B$4)-ROW($B$1)+1),ROWS($B$1:$B1)))),"",INDEX($B$1:$B$4, SMALL(IF($A$1:$A$4=TODAY(),ROW($B$1:$B$4)-ROW($B$1)+1),ROWS($B$1:$B1))))
Where Col B contains the list of cars
Col A the date/s

This is an array formula so confirm this with Ctrl+Shift+Enter
Reply With Quote
  #2  
Old 11-13-2018, 07:25 AM
staicumihai staicumihai 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 2010 32bit
Advanced Beginner
Formula to get text from multiple cells in Excel 2007
 
Join Date: Dec 2015
Posts: 33
staicumihai is on a distinguished road
Default

Thanks Marcia for your quick reply

I did what you told me

I pasted the formula in a cell and then I preses Ctrl+Shift+Enter and it gave me the message "the formula you typed contains an error"
Reply With Quote
  #3  
Old 11-13-2018, 11:40 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

Maybe like shown in the attached.
Attached Files
File Type: xlsx GetText.xlsx (10.6 KB, 9 views)
Reply With Quote
  #4  
Old 11-13-2018, 03:40 PM
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

Xor, I don't think IFERROR works with Excel 2007. And maybe even INDEX MATCH?
Reply With Quote
  #5  
Old 11-13-2018, 03:38 PM
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

I pasted the formula in a cell and then I preses Ctrl+Shift+Enter and it gave me the message "the formula you typed contains an error"[/quote]
There is an error because "today" is Nov 14 and you do not have nov 14 in your data. Insert a cell where you type your reference date, like Xor's table. Replace TODAY() with the cell address of your reference date. Learn to name your table and range, it is very flexible when copying formulas down rows or across columns.
I guess IF ISNA is not applicable with INDEX MATCH function so remove / edit the formula. See the formula in D3 and E3, compare it with D2 and E2.
Attached Files
File Type: xlsx GetText.xlsx (15.9 KB, 11 views)
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 12:04 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