Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Suppose I have a spreadsheet like this in libreoffice-calc:

enter image description here

Now I want to have a drop down list in A3 to choose between the strings in E3 (Text a) and H3 (Text b) such that automatically cell B3 contains the string from F3 i.e. Value a if Text a is chosen and Value b if Text b is selected in my drop-down menu.

Is there any way to do this?

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

You can use an IF formula in B3 that will look at A3 to determine which cell to pull data from. Here's the formula you'd use in this case:

=IF(A3="text a", F3, I3)

Of course, replace text a with whatever you are actually using.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.