Yorkshire Divers

Deep Blue Technical
Go Back   YD Scuba Diving Forums > 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: Sorry Hard to explain here and I misunderstood the other question. Big Si's answer to that should work I'...

Reply
 
LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 10-03-08, 08:49 PM
Adrian Kelland's Avatar
Adrian Kelland Adrian Kelland is offline
Pimp my user title
 

Join Date: May 2003
Location: Exeter
Posts: 8,472
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 Sixsquid
Sorry Hard to explain here and I misunderstood the other question. Big Si's answer to that should work

I'll see if there's a way I can explain the lookup table better
Excel -- Worksheet Functions -- VLookup
__________________
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
  #22 (permalink)  
Old 10-03-08, 08:50 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,585
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 Sixsquid
Sorry Hard to explain here and I misunderstood the other question. Big Si's answer to that should work

I'll see if there's a way I can explain the lookup table better
Should? Oh ye of little faith!! :P

What's even more impressive is that I did it whilst multitasking and cooking a Looooovely roast pork dinner! (mmmmmm crackling!)
__________________
Veni Vidi Divi!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #23 (permalink)  
Old 10-03-08, 09:17 PM
colinicky colinicky is offline
Driving my truck with my high-heels on...
 

Join Date: Sep 2004
Location: SE
Posts: 2,681
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
Ok thats got that working
So I thought that I could be clever & write the following but it don't work !

=IF(F5=0,J5:S5*0,IF(F5=1,J5:S5*17.5%,IF(F5=2,J5:S5 *5%,IF(F5=4,J5:S5/407*7,"NOT VALID VALUE"))))


What have I got wrong please ?
__________________
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
  #24 (permalink)  
Old 10-03-08, 09:21 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,585
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 colinicky
Ok thats got that working
So I thought that I could be clever & write the following but it don't work !

=IF(F5=0,J5:S5*0,IF(F5=1,J5:S5*17.5%,IF(F5=2,J5:S5 *5%,IF(F5=4,J5:S5/407*7,"NOT VALID VALUE"))))


What have I got wrong please ?
Whatcha trying to do? Is is the same sort of thing as the original example but on multiple lines?

If so you can just put the formula in the top line and change all references of F5 to $F$5 then click in the box with the formula and drag it down the column and it will just copy down.
__________________
Veni Vidi Divi!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #25 (permalink)  
Old 10-03-08, 09:24 PM
Sixsquid's Avatar
Sixsquid Sixsquid is offline
Doing it anyway, anyhow, anywhere I please
 

Join Date: Sep 2005
Posts: 7,548
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
Should? Oh ye of little faith!! :P

What's even more impressive is that I did it whilst multitasking and cooking a Looooovely roast pork dinner! (mmmmmm crackling!)
Mmmm Yummy

Right, read that link
But...

If it's the basic principle that hasn't been explained enough I'll try again

Let's say you have 5 different sizes of cylinder :- 3, 7, 10, 12 & 15
Each of these have an associated price (for example)
You have a list like this
3 50
7 90
10 110
12 135
15 155

You want to be able to type the cylinder size into a excel cell and automatically retrieve the price

So, you have the Vlookup function in, say, cell A1 where the result will appear
You input the cylinder type in B1

You create a table like above
Select Insert, function, Vlookup and populate the little wizard table

eg


In this example I put 'a' in B1 so, as per the table the result (which you can't see due to me pulling up the wizard to show it - only the function is showing) is 10

Does that explain the principle, assuming we needed to start there?
__________________
"... 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
  #26 (permalink)  
Old 10-03-08, 09:25 PM
colinicky colinicky is offline
Driving my truck with my high-heels on...
 

Join Date: Sep 2004
Location: SE
Posts: 2,681
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
Takes the numbers from J5 to S5 adds them together & multiplys by 0 or 17.5% or 5% or by 7/407ths but I get errors
__________________
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
  #27 (permalink)  
Old 10-03-08, 09:27 PM
Sixsquid's Avatar
Sixsquid Sixsquid is offline
Doing it anyway, anyhow, anywhere I please
 

Join Date: Sep 2005
Posts: 7,548
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 colinicky
Ok thats got that working
So I thought that I could be clever & write the following but it don't work !

=IF(F5=0,J5:S5*0,IF(F5=1,J5:S5*17.5%,IF(F5=2,J5:S5*5%,IF(F5=4,J5:S 5/407*7,"NOT VALID VALUE"))))


What have I got wrong please ?
If you are trying to do a sum there you need SumJ5.S5
If that's what you're trying to do, although multiplying anything by 0 will result in 0
__________________
"... 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
  #28 (permalink)  
Old 10-03-08, 09:28 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,585
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 colinicky
Takes the numbers from J5 to S5 adds them together & multiplys by 0 or 17.5% or 5% or by 7/407ths but I get errors
Quote:
Originally Posted by colinicky
Ok thats got that working
So I thought that I could be clever & write the following but it don't work !

=IF(F5=0,SUM(J5:S5)*0,IF(F5=1,SUM(J5:S5)*17.5%,IF( F5=2,SUM(J5:S5)*5%,IF(F5=4,SUM(J5:S5)/407*7,"NOT VALID VALUE"))))


What have I got wrong please ?

You were nearly there then. Just need to add SUM( : ) to the ranges you were looking to add together (as changed above).
__________________
Veni Vidi Divi!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #29 (permalink)  
Old 10-03-08, 09:29 PM
Adrian Kelland's Avatar
Adrian Kelland Adrian Kelland is offline
Pimp my user title
 

Join Date: May 2003
Location: Exeter
Posts: 8,472
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
yep sum(j5:s5)
__________________
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
  #30 (permalink)  
Old 10-03-08, 09:40 PM
colinicky colinicky is offline
Driving my truck with my high-heels on...
 

Join Date: Sep 2004
Location: SE
Posts: 2,681
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
Thanks people muchly appreciated Now to read up on Vlookup

Most of what we enter is repetition so I "think" it would be helpfull
__________________
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
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 12:42 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