I have a data source:

I have two input fields
1. text field 'PageCount'
2. Drop Down Menu 'Paper', which pulls the options from the Paper Type column in the data source
I'd like to have a text field that would then display the results of a formula. Something like this...
If(Paper='70# Offset', Sum(PageCount/field at Pages Per Inch, 70# Offset)
How do I refence that specific field in the formula? Ultimately, I need to divide page count by the "pages per inch" for the paper that was selected in the drop down.
thanks