MrExcel Message Board

Go Back   MrExcel Message Board > Question Forums > Excel Questions

Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only.

Reply
 
Thread Tools Display Modes
Old May 26th, 2002, 06:15 AM   #1
Helen
Board Regular
 
Join Date: Feb 2002
Posts: 103
Default

I have an account where the balance is changing, but I want to summarise all the accounts by itpicking up the most recent balance. At the moment I am having to keep going int and changig the cell reference.

Is there any formula that I was use for it to change the cell reference when new transactions appear and crate a new balance on other lines?

Thanks for your help
Helen
Helen is offline   Reply With Quote
Old May 26th, 2002, 07:42 AM   #2
Chris Davison
MrExcel MVP
 
Join Date: Feb 2002
Location: Millbank, London, UK
Posts: 1,790
Default

Microsoft Excel - helen.xls_______________Running: xl97 : OS = Windows (32-bit) 4.90
(F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp
F4==INDIRECT("C"&MATCH(999999999,$C:$C))
*ABCDEF
1DebitCreditBalance***
2*50:alert('=IF(AND(NOT(A2),NOT(B2)),"",-SUM($A$2:A2)+SUM($B$2:B2))')>50***
330*:alert('=IF(AND(NOT(A3),NOT(B3)),"",-SUM($A$2:A3)+SUM($B$2:B3))')>20***
4*100:alert('=IF(AND(NOT(A4),NOT(B4)),"",-SUM($A$2:A4)+SUM($B$2:B4))')>120*Last balance:alert('=INDIRECT("C"&MATCH(999999999,$C:$C))')>20
5100*:alert('=IF(AND(NOT(A5),NOT(B5)),"",-SUM($A$2:A5)+SUM($B$2:B5))')>20***
6**:alert('=IF(AND(NOT(A6),NOT(B6)),"",-SUM($A$2:A6)+SUM($B$2:B6))')>****
7**:alert('=IF(AND(NOT(A7),NOT(B7)),"",-SUM($A$2:A7)+SUM($B$2:B7))')>****
8**:alert('=IF(AND(NOT(A8),NOT(B8)),"",-SUM($A$2:A8)+SUM($B$2:B8))')>****
9**:alert('=IF(AND(NOT(A9),NOT(B9)),"",-SUM($A$2:A9)+SUM($B$2:B9))')>****
10**:alert('=IF(AND(NOT(A10),NOT(B10)),"",-SUM($A$2:A10)+SUM($B$2:B10))')>****
Sheet1

To see the formula in the cells just click on the cells hyperlink

The above image was automatically generated by [HtmlMaker V1.20]
If you want this code, click here and Colo will email the file to you.
This code was graciously allowed to be modified: by Ivan F Moala All credit to Colo


here's my effort..... it should get you started until something better comes along
__________________
:: Pharma Z - Family drugstore ::
Chris Davison is offline   Reply With Quote
Old May 26th, 2002, 08:04 AM   #3
Aladin Akyurek
MrExcel MVP
 
Aladin Akyurek's Avatar
 
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
Default

here's my effort..... it should get you started until something better comes along


I wasn't sure I understood Helen's query. As it is one about balances, you'd know .

Given your example, What about entering in C2

=SUM(-A2,B2,C1)

and copying down?

The last balance would be:

=INDIRECT("C",MATCH(9.99999999999999E+307,C:C))

or

=OFFSET(C1,MATCH(9.99999999999999E+307,C:C)-1,0,1,1)

Credit & blame both should be accorded to Chris, the foregoing is just a brush over.



Aladin Akyurek is offline   Reply With Quote
Old May 26th, 2002, 08:17 AM   #4
Chris Davison
MrExcel MVP
 
Join Date: Feb 2002
Location: Millbank, London, UK
Posts: 1,790
Default

*chuckling at "blame"*

Aladin, I was remembering an earlier post where we weren't showing any balance figures if the row hadn't been used, so tried to build it in using the AND and NOTs

(I must look at OFFSET more often though, thanks !)

Chris
Chris Davison is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 09:23 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
All contents Copyright 1998-2012 by MrExcel Consulting.
diabetic desserts recipes recipes Diabetic Soups Holiday Pizza Recipes Popcorn Recipes Recipes For Microwave Pasta Recipes Casserole Recipes Chili Recipes Curry Recipes Crockpot Recipes Apples Recipes Bread Recipes Vegetarian Recipes Vegetable recipes Desserts Recipes Appetizers Ethnic Recipes Meat Dishes Barbecue Recipes Sauces Recipes Marinade Recipes Low Fat Recipes Frugal Gourmet Kitchen Classics Recipes On The Grill Cook Books Seafood Recipes Cajun Recipes Breads Low Fat Low Fat Breads Bread Machine Recipes Yeast Breads Quick Breads Fat Free Vegetarian Salad Recipes Eggplant Recipes Radish Recipes Tomato Recipes Jalapeno Recipes Potato Recipes Lettuce Recipes Cabbage Recipes Beans Ambrosia Recipes Biscotti Recipes Desserts Low Fat Cookie Recipes Cheesecake Recipes Cake Recipes Pie Recipes Muffin Recipes Custard Recipes Best Appetizers Appetizers Low Fat Salsa Recipes Dip Recipes International Recipes Afghan Recipes Alaska Recipes French Recipes German Recipes Greek Recipes Italian Recipes Spanish Recipes Thai Recipes Korean Recipes Chinese Recipes Mexican Recipes Indian Recipes Beef Recipes Pork Pork & Ham Pork Butts Pork Chop Recipes Pork Ribs Rulled Pork Poultry Recipes Stews Recipes Ground Beef Barbecue Grill Barbecue Smoker All Purpose Sauce BBQ Sauce Barbecue Sauce Carolina BBQ Sauce Pickle Recipes Marinades Smoking Low Fat Appetizers & Dips Low Fat Breakfast Low Fat Cakes Low Fat Cheesecakes Low Fat Cookies Low Fat Desserts Low Fat Fish & Seafood Low Fat Meats Low Fat Pasta Low Fat Pies Low Fat Salads Low Fat Sandwiches Low Fat Sauces & Condiments Low Fat Sides Low Fat Soups Low Fat Vegetarian Baker's Dozen Taste of Home Recipe Book Bon Appetit Cookbook Blacktie Cookbook Buster Cook Book Cookbook USA Cook Book Cook Book Sara's Cookbook Sara's Cookbook Appetizers and Dips Poultry recipes Diabetic recipes Holiday recipes Miscellaneous recipes 110 recipes 1986 Usenet cookbook 2900 recipes Cyberrealm recipes Great sysops of world Specialty recipes Ceideburg recipes Cheese recipes Chili recipes Fruits recipes Garlic recipes Great chefs of NY Londontowne recipes Raisins recipes Recipes for kids US Food Vegetarian recipes Bread recipes Drinks Meat Dishes Brisket recipes Caribou recipes Chicken recipes Filet mignons recipes Pork recipes Swordfish recipes Turkey recipes Pasta recipes Uncategorized recipes Ethnic recipes Canada recipes English recipes Ethiopia recipes Germany recipes Greece recipes Mexican recipes Philippines recipes Welsh recipes Microwave recipes Soups recipes Vegetable recipes Asparagus recipes Barley recipes Brown rice recipes Lentil recipes Mushrooms recipes Salads recipes Wild rice Desserts recipes Cakes recipes Chocolate recipes Cookies recipes Ice cream recipes