Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-03-2012, 02:47 AM
andrei andrei is offline Complex array formula Windows 7 32bit Complex array formula Office 2007
Novice
Complex array formula
 
Join Date: Sep 2011
Posts: 14
andrei is on a distinguished road
Default

Hello Colin,



No need to bother as I get the result using the complicated formulas from F2 to J2; the problem came when trying to simplify the formula and you explained very well
why the error occurred.

Regards,
Andrei
Reply With Quote
  #2  
Old 02-03-2012, 03:17 AM
Colin Legg's Avatar
Colin Legg Colin Legg is offline Complex array formula Windows 7 32bit Complex array formula Office 2010 32bit
Expert
 
Join Date: Jan 2011
Location: UK
Posts: 369
Colin Legg will become famous soon enough
Default

Hi Andrei,

Fair enough, if you're happy then I'm happy.

Incidentally, if you happened to want to extract a list of values greater than zero, in the order that they appear, then I've attached an example for you.
Code:
=IF(COUNTIF($B2:$F2,">0")>=(COLUMN(G2)-COLUMN($G2)+1),
    INDEX($B2:$F2,SMALL(IF($B2:$F2>0,COLUMN($B2:$F2)-COLUMN($B2)+1),COLUMN(G2)-COLUMN($G2)+1)),"")
Regards,
Colin
Attached Files
File Type: xlsx Sample_data_.xlsx (14.4 KB, 11 views)
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Complex array formula Complex Find and Replace paulkaye Word 1 11-13-2011 04:23 AM
Modifying subject in Hyperlink - Complex amritr Outlook 0 05-26-2011 11:20 PM
Complex array formula Searching for Word Reformatter for Complex Docs jchapman Word 1 05-05-2011 04:50 PM
Look up an array based on user input johnsmb Excel 2 01-07-2011 01:12 PM
Complex Document Formatting rguima Word 0 02-22-2009 04:31 PM

Other Forums: Access Forums

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