So why don't you post the part of the Mathcad 15 sheet you experience troubles with so we can see what you are doing wrong?
Due to a forum bug its necessary to put the file in a zip archive and upload this archive.
In case you get the name f the archive twice when you do so, delete the one shown in light gray so that the "Post" button is enabled.
Note that you can't simply type "if" or "otherwise" but you have to use the appropriate keyboard shortcuts or use the "Programming" palette. (menu "View - Toolbars - Programming")

Here are a few possible implementations.
As a program should return something in any case I added a return string in case variable Exposure id different from "B", "C" or "D".
The versions using "lookup" will throw an error in case "Exposure" is invalid, while the last variant will return 0 in that case.

I guess that the version clearest to a reader might be the second one which takes advantage of the fact that a program is terminated when it encounters a "return" statement.