Share via

Drop-Down to switch cells either positive or negative

Anonymous
2025-02-09T03:52:42+00:00

Trying to find a way to select the two cells either plus or minus. I made the "+" and "-" a drop-down menu.

The goal is to be able to switch the cells using the drop-down rather than manually adding or subtracting them.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Andreas Killer 144.1K Reputation points Volunteer Moderator
    2025-02-09T07:55:30+00:00

    If you want to implement it exactly like that, you need VBA and depending on the exact circumstances in your file, it can be more or less complex.

    A very simple way is to use the data as in your screenshot as input and get the results in the next columns.

    In J5: =H5*IF(G5="-",-1,1)

    In K5: =I5*IF(G5="-",-1,1)

    Andreas.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful