Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi all! We have been experiencing an issue on site where threads have been missing the latest postings. The platform host Vanilla are working on this issue. A workaround that has been used by some is to navigate back from 1 to 10+ pages to re-sync the thread and this will then show the latest posts. Thanks, Mike.
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Help with Excel and possible if statement

  • 13-12-2009 1:52pm
    #1
    Registered Users Posts: 46


    HI,

    I'd be greatful if someone could guide me here.

    I'm setting up a spreadsheet and in the spreadsheet I have a list of options from a dropdown menu. I want a value to appear in the next colum which corresponds with the value choosen from the dropdown.

    So as an example If I was to choose ENG PREM 09 from dropdown menu the column beside it would then equal MAN U. MAN U would be taken from a list beside where I would be I have the date for the drop down list.

    The spreadsheet itself actually holds figures so what I want to happen is that if I choose something from the dropdown list it brings up a figure in the next column and then it then multiplies itself by a figure next to it to give me a total.

    This is probably not that clear but I hope someone understands and can help me.


Comments

  • Registered Users, Registered Users 2 Posts: 5,139 ✭✭✭homer911


    How many options do you have in the drop down list? If its only 2 or 3, then you could use a simple nested if statement. Any more than that and I would use vlookup.

    You could actually link the validation list as the key column on the vlookup and have the whole lot in one place...


  • Closed Accounts Posts: 2,980 ✭✭✭Kevster


    When an option is selected from a drop-down list, it's just recorded as a standard string in the cell, isn't it? The normal ifstatemrnt should therefore work. Like, if the drop-down list is held in the D3 cell, then do this:

    =IF(D3="Option1", "Option1 was selected", "not selected")


  • Registered Users Posts: 46 Economic


    I got the vlookup to work for me, thanks for that.

    Now I've another problem!!

    When a certain option is selected in the drop down I want it to equal the value given in the box above. Not a great explanation!

    say my options in the drop down are a b and c. a= 1 b= 2 and I want c to equal either a or b depending which one I choose.

    the vlookup formula I am using is:
    =VLOOKUP(D39,AG$9:AH$85,2,FALSE)


Advertisement