Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-17-2012, 03:02 PM
li roy li roy is offline Function problem Windows 7 64bit Function problem Office 2010 32bit
Novice
Function problem
 
Join Date: Feb 2012
Posts: 3
li roy is on a distinguished road
Default Function problem

The explanation of the problem is in the file...


I have a function that does not work in all cases.
And I do not know what the problem
Attached Files
File Type: xlsm נציגים.xlsm (24.1 KB, 10 views)
Reply With Quote
  #2  
Old 02-17-2012, 05:21 PM
Colin Legg's Avatar
Colin Legg Colin Legg is offline Function problem Windows 7 32bit Function problem Office 2010 32bit
Expert
 
Join Date: Jan 2011
Location: UK
Posts: 369
Colin Legg will become famous soon enough
Default

Your formula is this:

=IFERROR(INDEX($B$19:$B$25,SMALL(IF($A$19:$A$25= $G$18,ROW($19:$25) -1,""),ROW() -1)),"")

It should be this:

=IFERROR(INDEX($B$19:$B$25,SMALL(IF($A$19:$A$25= $G$18,ROW($A$19:$A$25) -ROW($A$19)+1),ROW() -ROW($G$19)+1)),"")


So

ROW($A$19:$A$25)-ROW($A$19)+1 gives you {1;2;3;4;5;6;7}

and
,ROW()-ROW($G$19)+1 will give you {1} when the formula is on row 19, {2} when the formula is on row 20, etc
Reply With Quote
  #3  
Old 02-18-2012, 02:44 AM
li roy li roy is offline Function problem Windows 7 64bit Function problem Office 2010 32bit
Novice
Function problem
 
Join Date: Feb 2012
Posts: 3
li roy is on a distinguished road
Default Now I understand

Thank you for your help
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Function problem how to use now() function gsrikanth Excel 1 01-07-2012 01:18 AM
Checkmark function problem todddesignr PowerPoint 0 07-29-2011 07:40 AM
Search Function Problem MageWind Excel 2 06-29-2011 09:46 AM
if function help jim831 Excel 2 10-29-2010 07:06 PM
Function problem Need help on what function to use??? Primeraman Excel 1 06-13-2006 10:16 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:18 AM.


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