You're welcome. Dave.
From: sandymau...@gmail.com To: excel-macros@googlegroups.com Subject: $$Excel-Macros$$ Re: Need Urgent help in finding formula. Date: Sat, 22 Aug 2009 23:43:27 +0530 Hi Dave, Thank you for this great information. These kind of things are not available in many books. Thanks again for this. Thanks & Regards Sandeep ----- Original Message ----- From: Dave Bonallack To: excel-macros@googlegroups.com Sent: Saturday, August 22, 2009 7:42 PM Subject: $$Excel-Macros$$ Re: Need Urgent help in finding formula. Hi Sandeep, The -- works on logical values, changing them from True to 1, or from False to 0 Try putting 5 into Cell A1 Then put =(A1=5) into Cell A2 When you hit Enter, Cell A2 will read TRUE If you change A1 to something else, Cell A2 will read FALSE Now change Cell A2 to =--(A1=5) When you hit Enter, cell A2 will read 1 If you change A1 to something else, Cell A2 will read 0 In this way, you can use TRUE and FALSE to do maths. Select one of the formula cells, then go to the formula bar and select just the part of the formula I've highlighted. =SUMPRODUCT(--($G$12:$G$25=G12),--(D12<$D$12:$D$25))+1 Now press F9, and you'll see a series of TRUE's and FALSE's Press escape. Now selected as follows: =SUMPRODUCT(--($G$12:$G$25=G12),--(D12<$D$12:$D$25))+1 Now press F9, and you'll see a series of 0's and 1's, which the XL can do maths with. Hope this helps. Regards - Dave. From: sandymau...@gmail.com To: excel-macros@googlegroups.com Subject: $$Excel-Macros$$ Re: Need Urgent help in finding formula. Date: Fri, 21 Aug 2009 17:53:44 +0530 Hi Dave Please you tell me what is the purpose of -- in your sumproduct formula and what are the ways to use it. And is there any other operators which are not commonly known. Thanks Sandeep ----- Original Message ----- From: Dave Bonallack To: excel-macros@googlegroups.com Sent: Friday, August 21, 2009 4:11 PM Subject: $$Excel-Macros$$ Re: Need Urgent help in finding formula. Hi Vinod, Have a look at the attached. I have had to use a helper column to extract the "Bricks, Tiles, Glass" info Then used that to rank the data. Hope this helps. Regards - Dave. Date: Fri, 21 Aug 2009 13:09:40 +0530 Subject: $$Excel-Macros$$ Need Urgent help in finding formula. From: vinod.ma...@gmail.com To: excel-macros@googlegroups.com Hello Team, I have attached file in which i need a formula in the column E, instead of the manual ranking in need a formula based on the item mentioned in the column C. Please make a note, ranking is based on the largest value to the particular item in C. ie Glass/Tiles/Bricks Kindly assist asap. Attached is the file for your review. Regards, Vinod Check the daily blob for the latest on what's happening around the web What goes online, stays online<BR Web IM has arrived! Use Windows Live Messenger from your Hotmail inbox<BR _________________________________________________________________ What goes online, stays online Check the daily blob for the latest on what's happening around the web http://windowslive.ninemsn.com.au/blog.aspx --~--~---------~--~----~------------~-------~--~----~ ---------------------------------------------------------------------------------- Some important links for excel users: 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 2. Excel tutorials at http://www.excel-macros.blogspot.com 3. Learn VBA Macros at http://www.vbamacros.blogspot.com 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com If you find any spam message in the group, please send an email to: Ayush Jain @ jainayus...@gmail.com or Ashish Jain @ 26may.1...@gmail.com <><><><><><><><><><><><><><><><><><><><><><> HELP US GROW !! We reach over 5,200 subscribers worldwide and receive many nice notes about the learning and support from the group. Our goal is to have 10,000 subscribers by the end of 2009. Let friends and co-workers know they can subscribe to group at http://groups.google.com/group/excel-macros/subscribe -~----------~----~----~----~------~----~------~--~---