Line 18 on your W-2 form is where your state wages are listed. The state associated with the wages is listed in box 15. So, I believe you mean box 15 lists an abbreviation for two different states, one on top of the other, and box 18 lists the associated wages. If so, you should enter everything the way it is listed on your W-2 form. Just leave box 19 blank.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"