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 Mar 1st, 2002, 04:59 AM   #1
Bobefax
New Member
 
Join Date: Feb 2002
Posts: 9
Default

I have a row of data B3:G3 and a summary cell H3.

Cell B3 C3 D3 E3 F3 G3
Value 12

in H3 this would display 12

If I then entered 14 in D3 it would then show 14 in H3.

Any suggestions?

Thanks
Bobefax is offline   Reply With Quote
Old Mar 1st, 2002, 05:04 AM   #2
Ian Mac
MrExcel MVP
 
Join Date: Feb 2002
Location: Newcastle, UK
Posts: 1,174
Default

What about:

=MAX(B3:G3)
Ian Mac is offline   Reply With Quote
Old Mar 1st, 2002, 05:14 AM   #3
Aladin Akyurek
MrExcel MVP
 
Aladin Akyurek's Avatar
 
Join Date: Feb 2002
Location: The Hague
Posts: 50,314
Default

Quote:
On 2002-03-01 04:04, Ian Mac wrote:
What about:

=MAX(B3:G3)
Ian,

Not sure but it seems Bobefax wants in H3 the value of the cell changed most recently in the range B3:G3. That would require VBA, I think.

Aladin
Aladin Akyurek is offline   Reply With Quote
Old Mar 1st, 2002, 05:22 AM   #4
Bobefax
New Member
 
Join Date: Feb 2002
Posts: 9
Default

Sorry,

I should have been clearer your suggestion only shows the highest value.

I need to show any value that is typed after B3 regardless of value, so I am looking to change the value of H3 everytime a subsequnat entry is made in the ros B3:H3.

Thanks anyway.
Bobefax is offline   Reply With Quote
Old Mar 1st, 2002, 05:45 AM   #5
Bobefax
New Member
 
Join Date: Feb 2002
Posts: 9
Default

Ian/Aladin,

Don't think I need VBA (hope not anyways!)

It sounds simple, just to change the value in H3 to match a value in range B3:G3, the values of range B3:G3 will be entered over a period of time (weekly), each Column B-G is a time period, so once entered they will not be changed.

At the end of the period G3 this will be the value in H3, but say after 3 weeks the value of D3 would need to be displayed 8 in H3.

Hope this clears it a bit more!.

Thanks


[ This Message was edited by: Bobefax on 2002-03-01 04:46 ]
Bobefax is offline   Reply With Quote
Old Mar 1st, 2002, 06:59 AM   #6
Aladin Akyurek
MrExcel MVP
 
Aladin Akyurek's Avatar
 
Join Date: Feb 2002
Location: The Hague
Posts: 50,314
Default

Quote:
On 2002-03-01 04:45, Bobefax wrote:
Ian/Aladin,

Don't think I need VBA (hope not anyways!)

It sounds simple, just to change the value in H3 to match a value in range B3:G3, the values of range B3:G3 will be entered over a period of time (weekly), each Column B-G is a time period, so once entered they will not be changed.

At the end of the period G3 this will be the value in H3, but say after 3 weeks the value of D3 would need to be displayed 8 in H3.

Hope this clears it a bit more!.

Thanks


[ This Message was edited by: Bobefax on 2002-03-01 04:46 ]
If you have something like:

Week 1, a value is entered in B3, say 8, C3:G3 is empty as yet;

Week 2, a value is entered in C3, say 5, D3:G3 is empty as yet;

etc., then

H3 will have the value of B3 in Week 1, that is, 8;

H3 will have the value of B3 in Week 2, that is, 5;

etc.

Then that's doable with a formula in H3, but I'm not yet convinced that this is the case.

Any comments?

Aladin
Aladin Akyurek is offline   Reply With Quote
Old Mar 1st, 2002, 07:02 AM   #7
Bobefax
New Member
 
Join Date: Feb 2002
Posts: 9
Default

Aladin,

What you have described id EXACTLY what I want.

HELP..........

Bobefax
Bobefax is offline   Reply With Quote
Old Mar 1st, 2002, 07:31 AM   #8
Aladin Akyurek
MrExcel MVP
 
Aladin Akyurek's Avatar
 
Join Date: Feb 2002
Location: The Hague
Posts: 50,314
Default

Quote:
On 2002-03-01 06:02, Bobefax wrote:
Aladin,

What you have described id EXACTLY what I want.

HELP..........

Bobefax
In H3 array-enter:

=INDEX(3:3,SUM((MAX((LEN(B3:G3)>0)*COLUMN(B3:G3)))))

To array-enter a formula you need to hit control+shift+enter, not just enter.

Aladin


[ This Message was edited by: Aladin Akyurek on 2002-03-01 06:32 ]
Aladin Akyurek is offline   Reply With Quote
Old Mar 1st, 2002, 07:44 AM   #9
Drew
Board Regular
 
Join Date: Feb 2002
Location: Boston, Mass
Posts: 169
Default

Aladin,
Would the idex/match function work just as well? Just wondering.

=INDEX(B3:G3,MATCH 9.99999999999999E+307,B3:G3))

Drew
Drew is offline   Reply With Quote
Old Mar 1st, 2002, 07:54 AM   #10
Bobefax
New Member
 
Join Date: Feb 2002
Posts: 9
Default

Drew,

Having a problem with your suggestion.

=INDEX(B3:G3,MATCH 9.99999999999999E+307,B3:G3))

Seems it may not have pasted across OK.

Only one open bracket but two close !!

bobefax
Bobefax 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 05:58 PM.


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