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 Feb 20th, 2002, 03:01 PM   #1
bdgray
New Member
 
Join Date: Feb 2002
Posts: 5
Default

I am trying to create a pricing spreadsheet that when opened will first prompt the user to input the # of locations for that specific customer. Once entered the spreadsheet is then automatically updated to provide a row corresponding with the # of locations specified. (i.e. if the user inputs 6 locations, 6 rows would appear under the location portion of the spreadsheet)

I have seen these before but have no idea what they are called. Can someone help me with the name and where I might be able to find an example of how to create them.

Additionally, I have noticed that when creating =if(x=y,z) statements that I can only enter 8 total conditionals. If I want to expand this, is there a way to do this?

Thanks,
Brian
bdgray is offline   Reply With Quote
Old Feb 20th, 2002, 03:54 PM   #2
Denise
New Member
 
Join Date: Feb 2002
Location: M&T Bank
Posts: 18
Default

I don't understand what you mean when you say "6 rows will appear". I do know that I've created combo-boxes that generate numbers that can be used in H and V lookups. There is a drop-down list where the user can choose, in this case, the number of locations. Your formulas could be designed to refer to this number.

Denise
Denise is offline   Reply With Quote
Old Feb 20th, 2002, 04:02 PM   #3
Joe Was
MrExcel MVP
 
Joe Was's Avatar
 
Join Date: Feb 2002
Location: Central Florida, USA
Posts: 7,541
Default

Nested IF statements are limited on a cell level. You can use more than one cells IF nests in a master cell nested IF. This way your nested IF can be any size you want, as long as you use additional cells to hold criteria.

Your first ?
Makes no sence to me?
JSW
Joe Was is offline   Reply With Quote
Old Feb 20th, 2002, 04:38 PM   #4
bdgray
New Member
 
Join Date: Feb 2002
Posts: 5
Default

Unfortunately my first question makes little sense to me either which is perhaps the problem. If someone might instead direct me to a good book that could assist me in building more advanced spreadsheets. I am trying to do these formulas with no formal knowledge of Excel.

Really all I want to do is create an easy to use spreadsheet that would allow my pre-sales engineers to quickly create proposals for our customers. My ultimate goal is to improve the professionalism and responsiveness of our team.

Since I'm on a roll, I don't suppose their is any way to link the output of this type of spreadsheet to a Visio diagram?

Thanks for your help,
Brian

bdgray is offline   Reply With Quote
Old Feb 20th, 2002, 04:54 PM   #5
Jack in the UK
Board Regular
 
Join Date: Feb 2002
Posts: 3,064
Default

Hi --

Sorry i do not really understand - and ask why your using Excel multi conditional ifs are complex you say no knowlwdge of Excel so this might be difficult..

BUT....

(excel) spreadsheet to a Visio diagram?
YES this can be done and Visio to Excel as they are both Microsoft software your need to use version Visio Pro or Devoper or what ever its called Technical i think as thats when microsoft bought Visio,


Sorry i can offer more...

The question bit ie user lcation your need VBA and its all gets complex, this is hardly a question i would say project, might i suggest post question by question untill you get ALL the answers that way your question will be undrstood and the guys will answer and give the best possible solution. Like i say im sorry i cant help more .

HTH
Rdgs
===========
Jack

Jack in the UK is offline   Reply With Quote
Old Feb 20th, 2002, 05:57 PM   #6
NateO
Legend
 
NateO's Avatar
 
Join Date: Feb 2002
Location: Minneapolis, Mn, USA
Posts: 9,704
Default

Bd,

That makes some sense to me. You can only do up to seven if's in one cell. But, you can nest many 'and' and 'or' statements in them refining the limited criteria. Also, if you do an if statement in one cell and the remainder in the next, you take the value of the cell that isn't blank.

The row inserting sounds like the work of vba via the input box. Somthing like:

sub prompter()
iRows = Application.InputBox(prompt:="Please Enter # of Locations", Title:="Howdy", Type:=1)
Range("A4").Select
Application.ScreenUpdating = False
If iRows <> False Then
For x = 1 To iRows
Selection.EntireRow.Insert
Next
End If
Application.ScreenUpdating = True
End Sub


Change the ranges as appropriate. And do not change irows to rows, holy hannah (looping replacements like I've never seen...)

Good Luck & Cheers,

Nate

[ This Message was edited by: NateO on 2002-02-20 16:58 ]
NateO is offline   Reply With Quote
Old Feb 20th, 2002, 06:21 PM   #7
Derek
Board Regular
 
Join Date: Feb 2002
Location: Perth Australia
Posts: 1,567
Default

Brian

x = "10:" & 10 + InputBox("Please type the number of locations", "LOCATIONS")
Range(x).Select
Selection.Insert Shift:=xlDown
Range("A10").Select
End Sub

The above snippet of code will open an input box asking the user to supply the number of locations. It will then insert that number of rows below row 9. Change both 10s on the first line to suite where you wish the insertion to take place.

Hope this is of some help
Derek
Derek is offline   Reply With Quote
Old Feb 20th, 2002, 06:34 PM   #8
NateO
Legend
 
NateO's Avatar
 
Join Date: Feb 2002
Location: Minneapolis, Mn, USA
Posts: 9,704
Default

Derek,

Might want data validation on your input box, in case the end-user inputs text.

i.e., type:=1

Cheers,
Nate
NateO is offline   Reply With Quote
Old Feb 20th, 2002, 07:16 PM   #9
bdgray
New Member
 
Join Date: Feb 2002
Posts: 5
Default

Thanks all.

I thought I knew excel pretty well before this. Its apparent I have a ways to go. Thanks for all your help!

Brian
bdgray is offline   Reply With Quote
Old Feb 20th, 2002, 07:17 PM   #10
NateO
Legend
 
NateO's Avatar
 
Join Date: Feb 2002
Location: Minneapolis, Mn, USA
Posts: 9,704
Default

You're welcome Brian. Good hunting.

Cheers,

Nate
NateO 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 10:54 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