A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

formula help



 
 
Thread Tools Display Modes
  #1  
Old May 4th, 2008, 03:20 AM posted to microsoft.public.excel.misc
-Bryan[_2_]
external usenet poster
 
Posts: 21
Default formula help

ok, I'e been looking all over for a way to do this formula, and I haven't
been successful yet. Hopefully someone can help me out, or at least point me
in the right direction.

The form I am creating is for use by various companies, it is for blank
printout, as well as entering data into it to receive calculations.

D6 is sq ft, D7 is Height, and D8 is a drop down list that 1-4 can be
selected in. The formula resides in cell H7

the formula is pretty simple, in itself- D6*D7/X . Where it gts interesting
is the following add-ons I'd like to put in it:

Roundup to the nearest integer, and if there is no data, than H7 remains
blank, also, the value of X depends upon what is selected in D8, basically if
d8=1,x=100 if d8=2 than x=50, if d8=3 than x=40, and if D8=4 than x=50.

If anyone can help out, I'd really appreciate it, since I have another
similiar formula that would need to follow the same requirements above.

Thanks for any help
  #2  
Old May 4th, 2008, 05:00 AM posted to microsoft.public.excel.misc
Joel
external usenet poster
 
Posts: 2,855
Default formula help

=IF(H7="","",ROUND((D6*D7)/(LOOKUP(D8,{1,2,3,4;100,50,40,50})),1))

"-Bryan" wrote:

ok, I'e been looking all over for a way to do this formula, and I haven't
been successful yet. Hopefully someone can help me out, or at least point me
in the right direction.

The form I am creating is for use by various companies, it is for blank
printout, as well as entering data into it to receive calculations.

D6 is sq ft, D7 is Height, and D8 is a drop down list that 1-4 can be
selected in. The formula resides in cell H7

the formula is pretty simple, in itself- D6*D7/X . Where it gts interesting
is the following add-ons I'd like to put in it:

Roundup to the nearest integer, and if there is no data, than H7 remains
blank, also, the value of X depends upon what is selected in D8, basically if
d8=1,x=100 if d8=2 than x=50, if d8=3 than x=40, and if D8=4 than x=50.

If anyone can help out, I'd really appreciate it, since I have another
similiar formula that would need to follow the same requirements above.

Thanks for any help

  #3  
Old May 4th, 2008, 08:44 AM posted to microsoft.public.excel.misc
-Bryan[_2_]
external usenet poster
 
Posts: 21
Default formula help

Wow! Thanks! I did change the H7 reference to D7(kept telling me circular
reference), but great formula. It helps me a lot to understand how it is
constructed. The one question I have, what is the final ",1" in the formula
for?

"Joel" wrote:

=IF(H7="","",ROUND((D6*D7)/(LOOKUP(D8,{1,2,3,4;100,50,40,50})),1))

"-Bryan" wrote:

ok, I'e been looking all over for a way to do this formula, and I haven't
been successful yet. Hopefully someone can help me out, or at least point me
in the right direction.

The form I am creating is for use by various companies, it is for blank
printout, as well as entering data into it to receive calculations.

D6 is sq ft, D7 is Height, and D8 is a drop down list that 1-4 can be
selected in. The formula resides in cell H7

the formula is pretty simple, in itself- D6*D7/X . Where it gts interesting
is the following add-ons I'd like to put in it:

Roundup to the nearest integer, and if there is no data, than H7 remains
blank, also, the value of X depends upon what is selected in D8, basically if
d8=1,x=100 if d8=2 than x=50, if d8=3 than x=40, and if D8=4 than x=50.

If anyone can help out, I'd really appreciate it, since I have another
similiar formula that would need to follow the same requirements above.

Thanks for any help

  #4  
Old May 4th, 2008, 08:51 AM posted to microsoft.public.excel.misc
Joel
external usenet poster
 
Posts: 2,855
Default formula help

This portion is a simple lookup. Looks up 1,2,3,4 and respectively returns
100,50,40,50.

LOOKUP(D8,{1,2,3,4;100,50,40,50})

The final One is part of the Round function which say to round to 1 decimal
point.

"-Bryan" wrote:

Wow! Thanks! I did change the H7 reference to D7(kept telling me circular
reference), but great formula. It helps me a lot to understand how it is
constructed. The one question I have, what is the final ",1" in the formula
for?

"Joel" wrote:

=IF(H7="","",ROUND((D6*D7)/(LOOKUP(D8,{1,2,3,4;100,50,40,50})),1))

"-Bryan" wrote:

ok, I'e been looking all over for a way to do this formula, and I haven't
been successful yet. Hopefully someone can help me out, or at least point me
in the right direction.

The form I am creating is for use by various companies, it is for blank
printout, as well as entering data into it to receive calculations.

D6 is sq ft, D7 is Height, and D8 is a drop down list that 1-4 can be
selected in. The formula resides in cell H7

the formula is pretty simple, in itself- D6*D7/X . Where it gts interesting
is the following add-ons I'd like to put in it:

Roundup to the nearest integer, and if there is no data, than H7 remains
blank, also, the value of X depends upon what is selected in D8, basically if
d8=1,x=100 if d8=2 than x=50, if d8=3 than x=40, and if D8=4 than x=50.

If anyone can help out, I'd really appreciate it, since I have another
similiar formula that would need to follow the same requirements above.

Thanks for any help

  #5  
Old May 4th, 2008, 08:59 AM posted to microsoft.public.excel.misc
-Bryan[_2_]
external usenet poster
 
Posts: 21
Default formula help


Again, thank you very much. It's been almost exactly ten years since I've
had to work in excel, and every bit of info helps me get back into the swing
of things.


"Joel" wrote:

This portion is a simple lookup. Looks up 1,2,3,4 and respectively returns
100,50,40,50.

LOOKUP(D8,{1,2,3,4;100,50,40,50})

The final One is part of the Round function which say to round to 1 decimal
point.

"-Bryan" wrote:

Wow! Thanks! I did change the H7 reference to D7(kept telling me circular
reference), but great formula. It helps me a lot to understand how it is
constructed. The one question I have, what is the final ",1" in the formula
for?

"Joel" wrote:

=IF(H7="","",ROUND((D6*D7)/(LOOKUP(D8,{1,2,3,4;100,50,40,50})),1))

"-Bryan" wrote:

ok, I'e been looking all over for a way to do this formula, and I haven't
been successful yet. Hopefully someone can help me out, or at least point me
in the right direction.

The form I am creating is for use by various companies, it is for blank
printout, as well as entering data into it to receive calculations.

D6 is sq ft, D7 is Height, and D8 is a drop down list that 1-4 can be
selected in. The formula resides in cell H7

the formula is pretty simple, in itself- D6*D7/X . Where it gts interesting
is the following add-ons I'd like to put in it:

Roundup to the nearest integer, and if there is no data, than H7 remains
blank, also, the value of X depends upon what is selected in D8, basically if
d8=1,x=100 if d8=2 than x=50, if d8=3 than x=40, and if D8=4 than x=50.

If anyone can help out, I'd really appreciate it, since I have another
similiar formula that would need to follow the same requirements above.

Thanks for any help

 




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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:53 AM.


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