Any MS Excel experts on the board?
#1
BE Forum Addict
Thread Starter
Joined: Sep 2009
Location: Abu Dhabi
Posts: 1,805
Any MS Excel experts on the board?
stuck with a problem that google hasn't managed to help me fix yet. Anyone know MS Excel?
I'm 99% through the template I'm creating, however there is one cell I am stumped with. What needs to be displayed is the result of 2 drop down menus further up the template
based on my little table attached, if I have selected "50 Kg" from one drop down menu, and "Singapore" from the other one, what do I put in the cell so I am working on to so it knows to display "110"?
I'm 99% through the template I'm creating, however there is one cell I am stumped with. What needs to be displayed is the result of 2 drop down menus further up the template
based on my little table attached, if I have selected "50 Kg" from one drop down menu, and "Singapore" from the other one, what do I put in the cell so I am working on to so it knows to display "110"?
#2
Re: Any MS Excel experts on the board?
I don't entirely understand the question. Are you looking for a formula to be used in more than one cell that will give the value of, for example, 50kg and Singapore, 500kg and Dubai, etc., the answer of which will change based on different inputs?
If you simply want the "110" to appear in another cell, you just need to tell it to copy/link the value of whatever that cell number is.
If you simply want the "110" to appear in another cell, you just need to tell it to copy/link the value of whatever that cell number is.
#3
BE Forum Addict
Thread Starter
Joined: Sep 2009
Location: Abu Dhabi
Posts: 1,805
Re: Any MS Excel experts on the board?
I don't entirely understand the question. Are you looking for a formula to be used in more than one cell that will give the value of, for example, 50kg and Singapore, 500kg and Dubai, etc., the answer of which will change based on different inputs?
If you simply want the "110" to appear in another cell, you just need to tell it to copy/link the value of whatever that cell number is.
If you simply want the "110" to appear in another cell, you just need to tell it to copy/link the value of whatever that cell number is.
#4
Re: Any MS Excel experts on the board?
If the user selection city is in cell A1 and weight selection in A2, your city names are in cells b10:f10 and your weights are in cells A11:A14 then the formula would be:
=HLOOKUP(A1,$B$10:$F$14,MATCH(A2,$A$11:$A$14)+1,FA LSE)
The FALSE statement should be a complete word - not sure why it's being broken up.
For this to work you need to make sure that the user weight selection choices match exactly, character for character, the list in cells A11:A14. You can do this using Data Validation and a list.
=HLOOKUP(A1,$B$10:$F$14,MATCH(A2,$A$11:$A$14)+1,FA LSE)
The FALSE statement should be a complete word - not sure why it's being broken up.
For this to work you need to make sure that the user weight selection choices match exactly, character for character, the list in cells A11:A14. You can do this using Data Validation and a list.
Last edited by csdf; Feb 18th 2014 at 4:40 pm.
#5
womble
Joined: Sep 2005
Posts: 2,675
Re: Any MS Excel experts on the board?
stuck with a problem that google hasn't managed to help me fix yet. Anyone know MS Excel?
I'm 99% through the template I'm creating, however there is one cell I am stumped with. What needs to be displayed is the result of 2 drop down menus further up the template
based on my little table attached, if I have selected "50 Kg" from one drop down menu, and "Singapore" from the other one, what do I put in the cell so I am working on to so it knows to display "110"?
I'm 99% through the template I'm creating, however there is one cell I am stumped with. What needs to be displayed is the result of 2 drop down menus further up the template
based on my little table attached, if I have selected "50 Kg" from one drop down menu, and "Singapore" from the other one, what do I put in the cell so I am working on to so it knows to display "110"?
#7
womble
Joined: Sep 2005
Posts: 2,675
Re: Any MS Excel experts on the board?
then you need to learn to do it
teach yourself Brains
go to the help function, look for HLOOKUP or ANDIF in the button that says "function help" and follow the instructions
teach yourself Brains
go to the help function, look for HLOOKUP or ANDIF in the button that says "function help" and follow the instructions
#8
Forum Regular
Joined: Apr 2010
Location: Al Ain, UAE
Posts: 54
Re: Any MS Excel experts on the board?
First of all I have to agree with the poster who said you had to learn. I can't emphasise enough how practice helps learn Excel. Nothing like learning from doing. Google often comes up with great links although admittedly sometimes it helps to know the function you'll need which isn't always easily known
Couple of links to help you understand how it works:
http://www.mrexcel.com/articles/exce...ndex-match.php
http://tipsindeed.com/excel-function...-in-excel.html
I've put the answer in an attached pic. A9 and B8 are Data Validation drop down lists so the answer in B9 changes when they do.
Good luck
Couple of links to help you understand how it works:
http://www.mrexcel.com/articles/exce...ndex-match.php
http://tipsindeed.com/excel-function...-in-excel.html
I've put the answer in an attached pic. A9 and B8 are Data Validation drop down lists so the answer in B9 changes when they do.
Good luck
#9
womble
Joined: Sep 2005
Posts: 2,675
Re: Any MS Excel experts on the board?
Casta, thanks! I learnt something new today
I've never used Index/Match before.
I've never used Index/Match before.
#10
BE Forum Addict
Thread Starter
Joined: Sep 2009
Location: Abu Dhabi
Posts: 1,805
Re: Any MS Excel experts on the board?
First of all I have to agree with the poster who said you had to learn. I can't emphasise enough how practice helps learn Excel. Nothing like learning from doing. Google often comes up with great links although admittedly sometimes it helps to know the function you'll need which isn't always easily known
Couple of links to help you understand how it works:
http://www.mrexcel.com/articles/exce...ndex-match.php
http://tipsindeed.com/excel-function...-in-excel.html
I've put the answer in an attached pic. A9 and B8 are Data Validation drop down lists so the answer in B9 changes when they do.
Good luck
Couple of links to help you understand how it works:
http://www.mrexcel.com/articles/exce...ndex-match.php
http://tipsindeed.com/excel-function...-in-excel.html
I've put the answer in an attached pic. A9 and B8 are Data Validation drop down lists so the answer in B9 changes when they do.
Good luck
That worked perfectly, thank you very much. Karma Sent!
#13
Re: Any MS Excel experts on the board?
I would suggest that you shouldn't be writing nested IF statements - much better ways of coming to the same answer (index and match combo).
In a former life I used to teach xhell. My advise was always to get rid of IF, AND, OR statements - they are confusing
In a former life I used to teach xhell. My advise was always to get rid of IF, AND, OR statements - they are confusing
#14
womble
Joined: Sep 2005
Posts: 2,675
Re: Any MS Excel experts on the board?
Very true. But I come from an ex Fortran 77 background, no index/match then, so I'm just being lazy since I can write nests easily