LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Advanvnce formula and function

Yesterday I made this formula for someone looking a little tricky. but a simple step to make a efficient formula can be achieve with the help of practice try some shorter formulas first then try to achieve the result through some other functions. you will learn the usage of formulas and soon you will develop them without any help. first try to get the logic behind the formula.

For example : Try to get nearest value in a range as per your requirement.


=IF($K$3="ABB",IF(INDEX(A1:A195,MATCH(MIN(ABS($B$2 :$B$195-M12)),ABS($B$2:$B$195-M12),0),0)<K12,"Minimum date is "&TEXT(K12,"dd-mm-yy"),INDEX(A1:A195,MATCH(MIN(ABS($B$2:$B$195-M12)),ABS($B$2:$B$195-M12),0),0))+1,IF(INDEX(A1:A195,MATCH(MIN(ABS($C$2: $C$195-M12)),ABS($C$2:$C$195-M12),0),0)<K12,"Minimum date is "&TEXT(K12,"dd-mm-yy"),INDEX(A1:A195,MATCH(MIN(ABS($C$2:$C$195-M12)),ABS($C$2:$C$195-M12),0),0)+1))



Regards,
Mandeep Baluja
LearningZmyPassion
https://www.linkedin.com/profile/view?id=312532939
https://www.facebook.com/VBAEXCELSQL?ref=hl
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Function or formula ? tarheelrooster Excel Discussion (Misc queries) 5 September 23rd 09 04:48 PM
Help with OR function in IF function formula veggies27 Excel Worksheet Functions 3 March 18th 08 10:04 PM
Help with function/formula please!!! Ssuzs Excel Worksheet Functions 7 June 13th 07 08:31 AM
how do i add a function to a formula? david_b2 Excel Discussion (Misc queries) 9 October 10th 06 05:15 PM
A formula/function to return a formula/function sith janitor Excel Worksheet Functions 4 September 22nd 06 05:01 PM


All times are GMT +1. The time now is 09:17 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"