Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

Your Answer


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.