Pelican Parts
Parts Catalog Accessories Catalog How To Articles Tech Forums
Call Pelican Parts at 888-280-7799
Shopping Cart Cart | Project List | Order Status | Help



Go Back   Pelican Parts Forums > Miscellaneous and Off Topic Forums > Off Topic Discussions


Reply
 
LinkBack Thread Tools Rate Thread
Author
Thread Post New Thread    Reply
Registered
 
Join Date: May 2002
Posts: 439
need help on Microsoft Excel

Can you guys help me on writing Excel formulas.

1) Is there a formula that will compare a benchmark number with that of a variable, with the result choosing the higher of either one. However, if the variable is lower than the benchmark number, it will pick the benchmark.


For example, 200 is my benchmark:

200 compared to 250, the Excel will pick 250


200 compared to 150, the Excel will pick 200


2) Is there a formula that will round up a number up even if it has several decimals .


For example, 88.000001 will be rounded up to 89


Your help is greatly appreciated.

__________________
1989 911 3.2
1990 964 3.6
Old 11-03-2003, 05:02 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #1 (permalink)
Registered
 
Paco Anton's Avatar
 
Join Date: May 2002
Location: Madrid, Spain
Posts: 774
Garage
Send a message via Yahoo to Paco Anton
1. =max(number;banchmark)

Where number and benchmark are references to cells where you have these numbers.

2. In my Spanish version of Excel the function is:
=redondear.mas(number)
I guess there is a similar function in your English version, try:
= round.up(number) or look for a similar funtion in the function library under "mathemathics and trigonometry" (you can access the function library pressing the "fx" button in the toolbar)

Or you can use =round(number+0.5)
This will add 0.5 to the number before rounding, ensuring that it will be rounded up.

Good luck
__________________
Paco Anton

83 SC Targa (Euro)

Last edited by Paco Anton; 11-03-2003 at 05:45 AM..
Old 11-03-2003, 05:42 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #2 (permalink)
B58/732
 
BlueSkyJaunte's Avatar
 
Join Date: Feb 2000
Location: Hot as Hell, AZ
Posts: 12,313
1) Paco is right

2) =CEILING(number, fractional digits)
__________________
ΜΟΛΩΝ ΛΑΒΕ
I don't always talk to vegetarians--but when I do, it's with a mouthful of bacon.
Old 11-03-2003, 07:53 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #3 (permalink)
Registered
 
Paco Anton's Avatar
 
Join Date: May 2002
Location: Madrid, Spain
Posts: 774
Garage
Send a message via Yahoo to Paco Anton
Blue,

I think it is a semicolon ( ; ) not a comma ( , ) separating the two arguments of the function.

Since Jeff wants an integer number, the function would read:

=ceiling(number;0)
__________________
Paco Anton

83 SC Targa (Euro)
Old 11-03-2003, 07:57 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #4 (permalink)
B58/732
 
BlueSkyJaunte's Avatar
 
Join Date: Feb 2000
Location: Hot as Hell, AZ
Posts: 12,313
Paco,

Comma works for me...might be a regional setting in Excel, since some regions use the comma as the decimal (instead of period "." like in the US). I figured "fractional digits" would be self-explanatory.
__________________
ΜΟΛΩΝ ΛΑΒΕ
I don't always talk to vegetarians--but when I do, it's with a mouthful of bacon.
Old 11-03-2003, 08:31 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #5 (permalink)
Registered
 
Paco Anton's Avatar
 
Join Date: May 2002
Location: Madrid, Spain
Posts: 774
Garage
Send a message via Yahoo to Paco Anton
Blue,

Damn, I thought I knew everything about Excel

What about the "max" function. I wrote it with semicolon, do you have to change the semicolon for a comma in US versions or do any of both symbols work?

And, yes, we use comma as the decimal.

PS I envy both your WRX and your VFR. I almoust bought one of each in the past (ended up with an Audi TT and a Suzuki GSE500 instead, but the wife is happier)
__________________
Paco Anton

83 SC Targa (Euro)

Last edited by Paco Anton; 11-03-2003 at 08:57 AM..
Old 11-03-2003, 08:55 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #6 (permalink)
 
B58/732
 
BlueSkyJaunte's Avatar
 
Join Date: Feb 2000
Location: Hot as Hell, AZ
Posts: 12,313
Paco,

No worries, my business card reads:

(My Name)
Sr. Software Engineer
Certified PowerPoint Engineer
SQL Grunt
Excel Monkey



The USA-regionalized Excel doesn't like the semicolon at all in function calls. Can't say that I've ever used it in Excel...anywhere...even VBA.

I guess that makes up for all the C/C++.

The WRX is great but has created serious boost addiction. Very dangerous.

The VFR is fun but I'm already looking for more power...or more character. It's just to keep me occupied until the perfect Ducati or Aprilia crosses my path.
__________________
ΜΟΛΩΝ ΛΑΒΕ
I don't always talk to vegetarians--but when I do, it's with a mouthful of bacon.
Old 11-03-2003, 10:48 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #7 (permalink)
Moderator
 
CamB's Avatar
 
Join Date: Apr 2000
Location: Auckland, New Zealand
Posts: 5,111
Garage
I just opened and tried using a semi-colon and it didn't work in the US version of Excel. You have to use a comma.

I never knew about the CEILING function - I use ROUNDUP (or ROUNDDOWN, or ROUND). The CEILING one will have its day for me.. thanks Blue.

__________________
1975 911S (in bits)
1969 911T (goes, but need fettling)
1973 BMW 2002tii (in bits, now with turbo)
Old 11-03-2003, 10:57 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #8 (permalink)
Reply


 


All times are GMT -8. The time now is 01:55 AM.


 
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0
Copyright 2025 Pelican Parts, LLC - Posts may be archived for display on the Pelican Parts Website -    DMCA Registered Agent Contact Page
 

DTO Garage Plus vBulletin Plugins by Drive Thru Online, Inc.