General Car Related Discussion. To discuss anything that is related to cars and automotive technology that doesnt naturally fit into another forum catagory.

Excel Gurus

Thread Tools
 
Search this Thread
 
Old 27-04-2005, 01:51 PM
  #1  
Rhys
15K+ Super Poster!!
Thread Starter
 
Rhys's Avatar
 
Join Date: May 2003
Location: South Wales, GB
Posts: 18,745
Likes: 0
Received 0 Likes on 0 Posts
Default Excel Gurus

Right then, any one got an idea how i would right a forumla for this?

Drilling cost: for rock thickness below 5 metres $400,000
from 5 metres to under 9 metres $600,000
from 9 metres to under 11 metres $800,000
from 11 metres to under 14 metres $1,000,000
above 14 metres $1,200,000

Other costs (fixed) $3,000,000

Basically i want in Cell X to get me the drilling cost to what cell Y says the rock thickness is. Then once its worked that out also at the $3,000,000 onto it?

I know its an If formula but do you have to keep putting an If in for every Variable?
Old 27-04-2005, 02:13 PM
  #2  
Dan B
Advanced PassionFord User
 
Dan B's Avatar
 
Join Date: Apr 2004
Posts: 2,364
Likes: 0
Received 0 Likes on 0 Posts
Default

Looks like you'll have to nest IF statements, but at least you'll be able to copy/paste the formula into every cell once it's written:

=IF(A1<=5,"400000",IF(A1<=9,"600000",IF(A1<=11,"80 0000",IF(A1<=14,"1000000",IF(A1>14,"1200000")))))
Pretty sure the above, converted to "normal English", means "If A1 is less than or equal to 5, then set value as 400000; else if A1 is than or equal to 9, set value to 600000, and so on...

Have that to work out the drilling cost, then use =SUM(B1+3000000) for the total cost.

The above assumes your rock thickness values are in the A-column and you're outputting drilling cost to the B-column; change those cell-addresses accordingly, paste the two formulae into the relevant columns!

It's been a while since I did any excel-formulae-programming, but I "think" that should work...
Old 27-04-2005, 02:21 PM
  #3  
RSKim
15K+ Super Poster!!
 
RSKim's Avatar
 
Join Date: Jun 2004
Location: ......
Posts: 17,303
Likes: 0
Received 0 Likes on 0 Posts
Default

Originally Posted by Dan B
Looks like you'll have to nest IF statements, but at least you'll be able to copy/paste the formula into every cell once it's written:

=IF(A1<=5,"400000",IF(A1<=9,"600000",IF(A1<=11,"80 0000",IF(A1<=14,"1000000",IF(A1>14,"1200000")))))
Pretty sure the above, converted to "normal English", means "If A1 is less than or equal to 5, then set value as 400000; else if A1 is than or equal to 9, set value to 600000, and so on...

Have that to work out the drilling cost, then use =SUM(B1+3000000) for the total cost.

The above assumes your rock thickness values are in the A-column and you're outputting drilling cost to the B-column; change those cell-addresses accordingly, paste the two formulae into the relevant columns!

It's been a while since I did any excel-formulae-programming, but I "think" that should work...

WOW
Old 27-04-2005, 02:27 PM
  #4  
Rhys
15K+ Super Poster!!
Thread Starter
 
Rhys's Avatar
 
Join Date: May 2003
Location: South Wales, GB
Posts: 18,745
Likes: 0
Received 0 Likes on 0 Posts
Default

Awsome nice one Dan
Old 27-04-2005, 02:29 PM
  #5  
Dan B
Advanced PassionFord User
 
Dan B's Avatar
 
Join Date: Apr 2004
Posts: 2,364
Likes: 0
Received 0 Likes on 0 Posts
Default

You're welcome!
Old 27-04-2005, 02:34 PM
  #6  
Paul Eggleton
PassionFord Post Whore!!
 
Paul Eggleton's Avatar
 
Join Date: Jun 2003
Location: Saving the planet
Posts: 5,749
Likes: 0
Received 0 Likes on 0 Posts
Default

Check this badboy out

=(ALLOCATE!G302*VLOOKUP(ALLOCATE!H302,in!$BE$12:$B H$442,3))+(ALLOCATE!I302*VLOOKUP(ALLOCATE!J302,in! $BE$12:$BH$442,3))+(ALLOCATE!K302*VLOOKUP(ALLOCATE !L302,in!$BE$12:$BH$442,3))+(ALLOCATE!M302*VLOOKUP (ALLOCATE!N302,in!$BE$12:$BH$442,3))+(ALLOCATE!O30 2*VLOOKUP(ALLOCATE!P302,in!$BE$12:$BH$442,3))+(ALL OCATE!Q302*VLOOKUP(ALLOCATE!R302,in!$BE$12:$BH$442 ,3))

Tracing problems is, errrr, interesting
Old 27-04-2005, 02:41 PM
  #7  
Rhys
15K+ Super Poster!!
Thread Starter
 
Rhys's Avatar
 
Join Date: May 2003
Location: South Wales, GB
Posts: 18,745
Likes: 0
Received 0 Likes on 0 Posts
Default

LOL these formulas suck! lol

Vlookup another great function

For this one assingment i have been told i have to use the Poisson fct nd the Norminv fct Which i have both never heard of till the other day! I have now used them but not sure if they are correct

Trending Topics

Old 27-04-2005, 02:44 PM
  #8  
Paul Eggleton
PassionFord Post Whore!!
 
Paul Eggleton's Avatar
 
Join Date: Jun 2003
Location: Saving the planet
Posts: 5,749
Likes: 0
Received 0 Likes on 0 Posts
Default

Heard of Poissions ratio but wtf is Norminv? Normalised inverse something ???
Old 27-04-2005, 02:47 PM
  #9  
Rhys
15K+ Super Poster!!
Thread Starter
 
Rhys's Avatar
 
Join Date: May 2003
Location: South Wales, GB
Posts: 18,745
Likes: 0
Received 0 Likes on 0 Posts
Default

Its to do with Normal distribution. So yeah your right Normal inverse


Didnt know either of those fcts was in excel till the other day
Old 27-04-2005, 02:58 PM
  #10  
foreigneRS
Testing the future
 
foreigneRS's Avatar
 
Join Date: Jul 2003
Location: W. Sussex
Posts: 17,597
Received 24 Likes on 16 Posts
Default

have you programmed your own functions using vba?
Old 27-04-2005, 03:03 PM
  #11  
Rhys
15K+ Super Poster!!
Thread Starter
 
Rhys's Avatar
 
Join Date: May 2003
Location: South Wales, GB
Posts: 18,745
Likes: 0
Received 0 Likes on 0 Posts
Default

I havent no.


Now lets not get to techinal
Old 27-04-2005, 03:20 PM
  #12  
JamesH
10K+ Poster!!
iTrader: (21)
 
JamesH's Avatar
 
Join Date: Jul 2003
Location: .
Posts: 10,807
Received 8 Likes on 8 Posts
Default




Soooooooo glad when I finished my Excel coursework
Old 27-04-2005, 03:53 PM
  #13  
Rhys
15K+ Super Poster!!
Thread Starter
 
Rhys's Avatar
 
Join Date: May 2003
Location: South Wales, GB
Posts: 18,745
Likes: 0
Received 0 Likes on 0 Posts
Default



Just doing this one now, but for some reason it aint working
=IF(C9=0,"0",IF(C9=1,"randbetween(800000,1000000)" ,IF(C9=2,"randbetween(800000,1000000)*2",IF(C9=3," randbetween(800000,1000000)*3",IF(C9=4,"Randbetwee n(800000,10000000*4")))))
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
jessie_rs
Ford RS Cosworth Parts for Sale
1
05-01-2016 01:16 PM
nicodinho
Ford Non RS / XR / ST parts for sale.
6
07-10-2015 12:56 PM
stevecfrst1
Cars for Sale
1
30-09-2015 05:18 AM
RIB1122
Ford RS Cosworth Parts for Sale
2
17-09-2015 07:45 PM
RSmark84
General Car Related Discussion.
19
13-09-2015 01:29 PM



Quick Reply: Excel Gurus



All times are GMT. The time now is 05:09 AM.