#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default excel question

I am trying to make a form in excel which will do some calculations. There
is a table with numbers. There is a column A which will contain a base,
Column B will contain a quantity which will be multiplied against a number in
the table, Columns C, D, and E will give the results of multiplying B, by
number in table resulting in row from base. I am trying if statement but lot
of if statements, is there an easy way to do this?

# PAGES QUANTITY LTR 1-SIDED LTR 2-SIDED LGR 2-SIDED



TABLE:

# PAGES LTR 1-SIDED LTR 2-SIDED LGR 2-SIDED
2 1
3 1
4 1
5 1 1
6 1 1
7 2
8 2
9 1 2
10 1 2
11 3
12 3
13 1 3
14 1 3



THE RESULT I AM LOOKING FOR:
PUT in # pages (2 pages), QTY (Varies), result would contain quantity under
last 3 columns,

ex.

# PAGES QUANTITY LTR 1-SIDED LTR 2-SIDED LGR 2-SIDED
3 100 100
8 200
400 (200 * 2)
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,203
Default excel question

It's a little difficult to see what your tables really look like, the layout
has gotten screwed up by the system here, as usual.

I'm not sure you really need the table to look things up, couldn't you build
a general formula for each situation (LTR 1 Sided, LTR 2-Sided, LGr 2-Sided)
into the table where you're entering # Pages and Quantity? I'm not certain
what the 'factor' is for going to the LGR sheets, but the LTR sheets would
seem to be simple enough

A B C D
E
1 # Pages .... Quantity L 1-S L 2-S LG 2-S
2 1 1 =A2*B2 =ROUNDUP(A2*B2/2,0)

and the last formula, for E2, might be something like =ROUNDUP(A2*B2/1.5,0)
but I'm not sure what the 1.5 really should be.
Given those formulas, I'd get results like:

#P QTY L 1-S L 2-S LGR 2-S
1 1 1 1 1
1 100 100 50 67
3 100 300 150 200

But if that doesn't work, look into the VLOOKUP() Function instead of using
a ton of nested IF() statements for access into the other table.


"supernerd101" wrote:

I am trying to make a form in excel which will do some calculations. There
is a table with numbers. There is a column A which will contain a base,
Column B will contain a quantity which will be multiplied against a number in
the table, Columns C, D, and E will give the results of multiplying B, by
number in table resulting in row from base. I am trying if statement but lot
of if statements, is there an easy way to do this?

# PAGES QUANTITY LTR 1-SIDED LTR 2-SIDED LGR 2-SIDED



TABLE:

# PAGES LTR 1-SIDED LTR 2-SIDED LGR 2-SIDED
2 1
3 1
4 1
5 1 1
6 1 1
7 2
8 2
9 1 2
10 1 2
11 3
12 3
13 1 3
14 1 3



THE RESULT I AM LOOKING FOR:
PUT in # pages (2 pages), QTY (Varies), result would contain quantity under
last 3 columns,

ex.

# PAGES QUANTITY LTR 1-SIDED LTR 2-SIDED LGR 2-SIDED
3 100 100
8 200
400 (200 * 2)

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default excel question

Thanks, I used the VLOOKUP() and got it to work.


"JLatham" wrote:

It's a little difficult to see what your tables really look like, the layout
has gotten screwed up by the system here, as usual.

I'm not sure you really need the table to look things up, couldn't you build
a general formula for each situation (LTR 1 Sided, LTR 2-Sided, LGr 2-Sided)
into the table where you're entering # Pages and Quantity? I'm not certain
what the 'factor' is for going to the LGR sheets, but the LTR sheets would
seem to be simple enough

A B C D
E
1 # Pages .... Quantity L 1-S L 2-S LG 2-S
2 1 1 =A2*B2 =ROUNDUP(A2*B2/2,0)

and the last formula, for E2, might be something like =ROUNDUP(A2*B2/1.5,0)
but I'm not sure what the 1.5 really should be.
Given those formulas, I'd get results like:

#P QTY L 1-S L 2-S LGR 2-S
1 1 1 1 1
1 100 100 50 67
3 100 300 150 200

But if that doesn't work, look into the VLOOKUP() Function instead of using
a ton of nested IF() statements for access into the other table.


"supernerd101" wrote:

I am trying to make a form in excel which will do some calculations. There
is a table with numbers. There is a column A which will contain a base,
Column B will contain a quantity which will be multiplied against a number in
the table, Columns C, D, and E will give the results of multiplying B, by
number in table resulting in row from base. I am trying if statement but lot
of if statements, is there an easy way to do this?

# PAGES QUANTITY LTR 1-SIDED LTR 2-SIDED LGR 2-SIDED



TABLE:

# PAGES LTR 1-SIDED LTR 2-SIDED LGR 2-SIDED
2 1
3 1
4 1
5 1 1
6 1 1
7 2
8 2
9 1 2
10 1 2
11 3
12 3
13 1 3
14 1 3



THE RESULT I AM LOOKING FOR:
PUT in # pages (2 pages), QTY (Varies), result would contain quantity under
last 3 columns,

ex.

# PAGES QUANTITY LTR 1-SIDED LTR 2-SIDED LGR 2-SIDED
3 100 100
8 200
400 (200 * 2)

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,203
Default excel question

Glad that I was at least able to offer a helpful hint.

"supernerd101" wrote:

Thanks, I used the VLOOKUP() and got it to work.


"JLatham" wrote:

It's a little difficult to see what your tables really look like, the layout
has gotten screwed up by the system here, as usual.

I'm not sure you really need the table to look things up, couldn't you build
a general formula for each situation (LTR 1 Sided, LTR 2-Sided, LGr 2-Sided)
into the table where you're entering # Pages and Quantity? I'm not certain
what the 'factor' is for going to the LGR sheets, but the LTR sheets would
seem to be simple enough

A B C D
E
1 # Pages .... Quantity L 1-S L 2-S LG 2-S
2 1 1 =A2*B2 =ROUNDUP(A2*B2/2,0)

and the last formula, for E2, might be something like =ROUNDUP(A2*B2/1.5,0)
but I'm not sure what the 1.5 really should be.
Given those formulas, I'd get results like:

#P QTY L 1-S L 2-S LGR 2-S
1 1 1 1 1
1 100 100 50 67
3 100 300 150 200

But if that doesn't work, look into the VLOOKUP() Function instead of using
a ton of nested IF() statements for access into the other table.


"supernerd101" wrote:

I am trying to make a form in excel which will do some calculations. There
is a table with numbers. There is a column A which will contain a base,
Column B will contain a quantity which will be multiplied against a number in
the table, Columns C, D, and E will give the results of multiplying B, by
number in table resulting in row from base. I am trying if statement but lot
of if statements, is there an easy way to do this?

# PAGES QUANTITY LTR 1-SIDED LTR 2-SIDED LGR 2-SIDED



TABLE:

# PAGES LTR 1-SIDED LTR 2-SIDED LGR 2-SIDED
2 1
3 1
4 1
5 1 1
6 1 1
7 2
8 2
9 1 2
10 1 2
11 3
12 3
13 1 3
14 1 3



THE RESULT I AM LOOKING FOR:
PUT in # pages (2 pages), QTY (Varies), result would contain quantity under
last 3 columns,

ex.

# PAGES QUANTITY LTR 1-SIDED LTR 2-SIDED LGR 2-SIDED
3 100 100
8 200
400 (200 * 2)

Reply
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
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
The question is an excel question that I need to figure out howto do in excel. Terry Excel Worksheet Functions 3 January 23rd 06 06:22 PM
Excel Question AB Excel Discussion (Misc queries) 11 December 20th 05 08:55 PM
Excel Question Please Help 757jjdude Excel Discussion (Misc queries) 3 January 12th 05 12:11 AM
Statistical Excel Function Question within Excel 2000... Drew H Excel Worksheet Functions 3 October 31st 04 06:55 PM


All times are GMT +1. The time now is 01:02 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"