LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default formula to code help

I have the following formula that I was able to do. But I
prefer to put this into code and attach it to a button
that has several other events to it. But since I am
having a brain freeze, can not figure out how to put this
into code. Can someone get me started correctly? Is
there a website to go to for tips and tricks?

=SUM(Detail!$G$2:$G$60000,(IF(Detail!$K$2:$K$60000 =1998,IF
(Detail!$M$2:$M$60000="LB",IF(Detail!$J$2:$J$60000 ="Bodily
Injury",IF(Detail!$G$2:$G$60000="Open",1,0))))))

Thanks to anyone who responds.
*** John
 
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
How to code the formula? Eric Excel Discussion (Misc queries) 5 June 24th 09 04:41 PM
formula or code Monty Excel Worksheet Functions 10 January 10th 05 09:06 AM
Formula or VBA code help Michael168[_2_] Excel Programming 3 September 15th 03 06:00 PM
SUM Formula using code Sony[_2_] Excel Programming 1 August 27th 03 09:34 AM
Formula or code Jim[_15_] Excel Programming 0 July 9th 03 05:51 PM


All times are GMT +1. The time now is 08:25 AM.

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"