Yorkshire Divers

Deep Blue Technical
Go Back   YD Scuba Diving Forums & Community > Non-Diving Related Forums > Technology
User Name
Password

Welcome to the YD Scuba forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Technology: Discuss Excel formula Writing help in the Non-Diving Related Forums forums: Ok thanks to Mark Chase in my previous thread I think I am nearly there But I need help with ...

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-03-08, 08:03 PM
colinicky colinicky is offline
Driving my truck with my high-heels on...
 

Join Date: Sep 2004
Location: SE
Posts: 2,677
colinicky is a snorkellercolinicky is a snorkellercolinicky is a snorkellercolinicky is a snorkellercolinicky is a snorkellercolinicky is a snorkellercolinicky is a snorkellercolinicky is a snorkellercolinicky is a snorkellercolinicky is a snorkellercolinicky is a snorkeller
Question Excel formula Writing help

Ok thanks to Mark Chase in my previous thread I think I am nearly there
But I need help with a formula I need something to work the following :-

If F5 = 0 then H5 = F5 "OR" If F5 = 1 then H5 = F5/1.175 "OR" If F5 = 2 then H5 = F5/1.05 "OR" If F5 = 4 then H5 = F5/407*7

Can somebody please help
TIA
__________________
Colin

I trust my rebreather completely ,
I just don't trust the user

onwards & downwards
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-03-08, 08:08 PM
big_si's Avatar
big_si big_si is offline
The man who put a big smile on Tanya Streeters face
 

Join Date: Aug 2006
Location: Royston, Herts, UK
Posts: 4,579
big_si is never out of the waterbig_si is never out of the waterbig_si is never out of the waterbig_si is never out of the waterbig_si is never out of the waterbig_si is never out of the waterbig_si is never out of the waterbig_si is never out of the waterbig_si is never out of the waterbig_si is never out of the waterbig_si is never out of the water
So let me get this straight... You want the value in H5 to perform a different calculation based on what the value in F5 is?

so... in cell H5 put

=IF(F5=0,F5,IF(F5=1,F5/1.175,IF(F5=2,F5/1.05,IF(F5=4,F5/407*7,"NOT VALID VALUE"))))

Should do the trick
__________________
Veni Vidi Divi!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 10-03-08, 08:09 PM
Adrian Kelland's Avatar
Adrian Kelland Adrian Kelland is offline
Pimp my user title
 

Join Date: May 2003
Location: Exeter
Posts: 8,442
Adrian Kelland communes with fishAdrian Kelland communes with fishAdrian Kelland communes with fishAdrian Kelland communes with fishAdrian Kelland communes with fishAdrian Kelland communes with fishAdrian Kelland communes with fishAdrian Kelland communes with fishAdrian Kelland communes with fishAdrian Kelland communes with fishAdrian Kelland communes with fish
Put the following in H5

=IF(F5 = 0,F5,IF(F5 = 1, F5/1.175,IF(F5 = 2,F5/1.05,IF(F5 = 4,F5/407*7,))))

The last comma will return 0 for all other values of f5 not in your definition. If I have understood it correctly.

Adrian
__________________
Interviewer; Sum yourself up in three words
Me; Lazy
YD Fundraising 2007/8 - Amount Raised Royal National Lifeboat Institution UK Transplant Register Exeter BSAC

Last edited by Adrian Kelland : 10-03-08 at 08:12 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 10-03-08, 08:10 PM
Adrian Kelland's Avatar
Adrian Kelland Adrian Kelland is offline
Pimp my user title
 

Join Date: May 2003
Location: Exeter
Posts: 8,442
Adrian Kelland communes with fishAdrian Kelland communes with fishAdrian Kelland communes with fishAdrian Kelland communes with fishAdrian Kelland communes with fishAdrian Kelland communes with fishAdrian Kelland communes with fishAdrian Kelland communes with fishAdrian Kelland communes with fishAdrian Kelland communes with fishAdrian Kelland communes with fish
Quote:
Originally Posted by big_si
So let me get this straight... You want the value in H5 to perform a different calculation based on what the value in F5 is?

so... in cell H5 put

=IF(F5=0,F5,IF(F5=1,F5/1.175,IF(F5=2,F5/1.05,IF(F5=4,F5/407*7,"NOT VALID VALUE"))))

Should do the trick
gods, that makes me feel better
__________________
Interviewer; Sum yourself up in three words
Me; Lazy
YD Fundraising 2007/8 - Amount Raised Royal National Lifeboat Institution UK Transplant Register Exeter BSAC
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 10-03-08, 08:11 PM
big_si's Avatar
big_si big_si is offline
The man who put a big smile on Tanya Streeters face
 

Join Date: Aug 2006
Location: Royston, Herts, UK
Posts: 4,579
big_si is never out of the waterbig_si is never out of the waterbig_si is never out of the waterbig_si is never out of the waterbig_si is never out of the waterbig_si is never out of the waterbig_si is never out of the waterbig_si is never out of the waterbig_si is never out of the waterbig_si is never out of the waterbig_si is never out of the water
Quote:
Originally Posted by Adrian Kelland
gods, that makes me feel better
Hehehe! SNAP!
__________________
Veni Vidi Divi!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 10-03-08, 08:16 PM
Air Guzzler's Avatar
Air Guzzler Air Guzzler is offline
Posting Shite since 19:31
 

Join Date: Jan 2006
Location: St Helens by the sea :(
Posts: 513
Air Guzzler swims in cold waterAir Guzzler swims in cold waterAir Guzzler swims in cold waterAir Guzzler swims in cold waterAir Guzzler swims in cold waterAir Guzzler swims in cold waterAir Guzzler swims in cold waterAir Guzzler swims in cold waterAir Guzzler swims in cold waterAir Guzzler swims in cold waterAir Guzzler swims in cold water
Quote:
Originally Posted by Adrian Kelland
Put the following in H5

=IF(F5 = 0,F5,IF(F5 = 1, F5/1.175,IF(F5 = 2,F5/1.05,IF(F5 = 4,F5/407*7,))))

The last comma will return 0 for all other values of f5 not in your definition. If I have understood it correctly.

Adrian

Are you really sure Adrian
__________________
I've payed for my air ill breath as fast as i wont to


Due to financial problems the light at the end of the tunnel will be switched off between 6am - 6pm Mon - Fri


http://s214.photobucket.com/albums/cc204/Air-Guzzler/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 10-03-08, 08:19 PM
Adrian Kelland's Avatar
Adrian Kelland Adrian Kelland is offline
Pimp my user title
 

Join Date: May 2003
Location: Exeter
Posts: 8,442
Adrian Kelland communes with fishAdrian Kelland communes with fishAdrian Kelland communes with fishAdrian Kelland communes with fishAdrian Kelland communes with fishAdrian Kelland communes with fishAdrian Kelland communes with fishAdrian Kelland communes with fishAdrian Kelland communes with fishAdrian Kelland communes with fishAdrian Kelland communes with fish
Quote:
Originally Posted by Air Guzzler
Are you really sure Adrian
Seems to be doing so here. What do you think is wrong? I don't really use excel much. It (well it allows users to) screws up data far to easily.

Adrian
__________________
Interviewer; Sum yourself up in three words
Me; Lazy
YD Fundraising 2007/8 - Amount Raised Royal National Lifeboat Institution UK Transplant Register Exeter BSAC
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 10-03-08, 08:25 PM
colinicky colinicky is offline
Driving my truck with my high-heels on...
 

Join Date: Sep 2004
Location: SE
Posts: 2,677
colinicky is a snorkellercolinicky is a snorkellercolinicky is a snorkellercolinicky is a snorkellercolinicky is a snorkellercolinicky is a snorkellercolinicky is a snorkellercolinicky is a snorkellercolinicky is a snorkellercolinicky is a snorkellercolinicky is a snorkeller
Talking

OOps ! should have read H5=E5 & so on but Thanks all I got it now
Greens incoming
__________________
Colin

I trust my rebreather completely ,
I just don't trust the user

onwards & downwards
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 10-03-08, 08:29 PM
Sixsquid's Avatar
Sixsquid Sixsquid is offline
Doing it anyway, anyhow, anywhere I please
 

Join Date: Sep 2005
Posts: 7,519
Sixsquid is never out of the waterSixsquid is never out of the waterSixsquid is never out of the waterSixsquid is never out of the waterSixsquid is never out of the waterSixsquid is never out of the waterSixsquid is never out of the waterSixsquid is never out of the waterSixsquid is never out of the waterSixsquid is never out of the waterSixsquid is never out of the water
Quote:
Originally Posted by big_si
So let me get this straight... You want the value in H5 to perform a different calculation based on what the value in F5 is?

so... in cell H5 put

=IF(F5=0,F5,IF(F5=1,F5/1.175,IF(F5=2,F5/1.05,IF(F5=4,F5/407*7,"NOT VALID VALUE"))))

Should do the trick
Or just use a lookup table
__________________
"... once we start delving around in there it's obvious it's just a really, really big squid ...
...to be honest, I think we'll probably just eat it. "


"Wherever you go let your wind go free.
For it was keeping it in that was the death of me."
- Tombstone wit
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 10-03-08, 08:29 PM
Air Guzzler's Avatar
Air Guzzler Air Guzzler is offline
Posting Shite since 19:31
 

Join Date: Jan 2006
Location: St Helens by the sea :(
Posts: 513
Air Guzzler swims in cold waterAir Guzzler swims in cold waterAir Guzzler swims in cold waterAir Guzzler swims in cold waterAir Guzzler swims in cold waterAir Guzzler swims in cold waterAir Guzzler swims in cold waterAir Guzzler swims in cold waterAir Guzzler swims in cold waterAir Guzzler swims in cold waterAir Guzzler swims in cold water
just checking Adrian

Ive found excel to be a little bit to clever at times
__________________
I've payed for my air ill breath as fast as i wont to


Due to financial problems the light at the end of the tunnel will be switched off between 6am - 6pm Mon - Fri


http://s214.photobucket.com/albums/cc204/Air-Guzzler/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Sponsored Links

Yorkshire Divers - RSS Feed
All times are GMT +1. The time now is 05:14 AM.
Powered by vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.0.0 RC6
Trademark and all rights reserved : © YD.com Ltd (2006)
YD.com Ltd (Registered in England - 05886696)
Other sites : Golf Clubs | New Premiership Football Kits | MP3 Portable Players | MP3 Players For Sale | Replica Football Kits

Forums Directory