Dear Vivek,

Without using VBA

Please try through below function..


=get.cell(63,Indirect("RC[-1]",))

See attached sheet for more clarity.

-- 
Thanks & regards,
Noorain Ansari
 *http://noorainansari.com/* <http://excelmacroworld.blogspot.com/>
*http://excelmacroworld.blogspot.com/*<http://excelmacroworld.blogspot.com/>

On Fri, Apr 20, 2012 at 11:43 AM, NOORAIN ANSARI
<noorain.ans...@gmail.com>wrote:

> Dear Vivek,
>
> Please try below UDF for colored Sumif..
>
> *Function colored_Sum(rng As Range, ctr As Range)
> Dim cell As Range
> For Each cell In rng
> If cell.Interior.Color = ctr.Interior.Color Then
> colored_Sum = colored_Sum + cell
> End If
> Next
> End Function
> *
> See attached sheet.
>
> --
> Thanks & regards,
> Noorain Ansari
>
>
> On Fri, Apr 20, 2012 at 9:02 AM, vivek <vivek.j...@gmail.com> wrote:
>
>> Dear Group members,****
>>
>> I want to use sumif function to sum a particular range based on the cell
>> colour. Is it possible. I am enclosing herewith a sample file.****
>>
>> Please help..****
>>
>> ** **
>>
>> Thanks & Regards...****
>>
>> CA Vivek Jain, FCA, DISA (ICAI)****
>>
>> Vivek Shantilal Jain & Co.****
>>
>> Chartered Accountants****
>>
>> 3010 Ram Kumar Arcade,****
>>
>> Chatribari Road, A T Road,****
>>
>> Guwahati-781001****
>>
>> 0361-2603895,9435019908****
>>
>> [image: save earth]****
>>
>> ** **
>>
>> --
>> FORUM RULES (986+ members already BANNED for violation)
>>
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>> will not get quick attention or may not be answered.
>>
>> 2) Don't post a question in the thread of another member.
>>
>> 3) Don't post questions regarding breaking or bypassing any security
>> measure.
>>
>> 4) Acknowledge the responses you receive, good or bad.
>>
>> 5) Cross-promotion of, or links to, forums competitive to this forum in
>> signatures are prohibited.
>>
>> NOTE : Don't ever post personal or confidential data in a workbook. Forum
>> owners and members are not responsible for any loss.
>>
>>
>> ------------------------------------------------------------------------------------------------------
>> To post to this group, send email to excel-macros@googlegroups.com
>>
>
>
>
>
>
>
>
>


-- 
Thanks & regards,
Noorain Ansari
 *http://noorainansari.com/* <http://excelmacroworld.blogspot.com/>
*http://excelmacroworld.blogspot.com/*<http://excelmacroworld.blogspot.com/>

-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com

<<image001.jpg>>

Attachment: Copy of Book1(Color_sumif).xlsx
Description: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Reply via email to