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: 3
Default conditional macro

I want to set up a conditional macro ,, need help, I used to do these in
Lotus just fine but the times they R a changing...

I have a simple list where I calculate one weeks bills and expense against
the total cash income for the week. so ,,,

phone 110.0 y $$$ available 1000.0
travel 70.0 y subtotal 170.0
food 100.0 n
misc 50.0 n BALANCE 830.0


the y/n col is where I check for a condition true or false,,, if and when
the y is a true condition the anount to the left is added to the subtotal.
This is done until the condition meets a blank col and the loop stops
All n conditions are not added because the amount has not yet been paid out
or may even change before the condition becomes true.

I want to always start by setting subtotal to zero, run from the top of the
conditional col, adding up all y conditions to sutotal, ignore any n
conditions, and quit upon a blank field in the conditional col.....

Please someone help me accomplish this
 
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
Conditional Macro Stacey Excel Discussion (Misc queries) 2 March 7th 07 05:31 PM
[B]Conditional Macro?[/B] Heydilbert Excel Discussion (Misc queries) 1 November 11th 05 10:07 PM
conditional sum and macro Francine Otterson Excel Discussion (Misc queries) 1 June 22nd 05 09:44 AM
Conditional Macro Shelley Shepherd via OfficeKB.com Excel Worksheet Functions 1 February 1st 05 05:32 PM
Conditional Fill Macro Nick Thorsch Excel Programming 8 June 14th 04 08:33 PM


All times are GMT +1. The time now is 02:36 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"