| | |||||||
|
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'... |
| | LinkBack | Thread Tools | Display Modes |
| ||||
| Quote:
__________________ Interviewer; Sum yourself up in three words Me; Lazy YD Fundraising 2007/8 - Amount Raised Royal National Lifeboat Institution UK Transplant Register Exeter BSAC |
| |||
| 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 |
| ||||
| Quote:
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! |
| ||||
| Quote:
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 |
| |||
| 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 |
| ||||
| Quote:
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 |
| ||||
| Quote:
Quote:
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! |
| ||||
| 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 |
| |||
| Thanks people muchly appreciated Now to read up on 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 |
| Thread Tools | |
| Display Modes | |
| |
| | ||