Assigning a single value to a column

P

Peekaboo012885

I'm trying to put together a commission spreadsheet and want to assign just
one numeric value to an entire column, however, I only want the data inputted
for cells used. Ex: Column F is for protection plans sold....if "Y" is
entered then the value should equal "$5.00", if left blank then no value is
entered into the cell. Does anyone know how to acheive this?
 
S

Sheeloo

Which column do you want to use for entering the value $5.00?
Assuming it is G, then enter this in G1
=IF(F1="Y",5,"")
and copy it down. It will show a blank unless Col F in the same row has an "Y"

Format Col G as Currency to show $5.00
 
P

Peekaboo012885

Hm...Well I want it to end up totaling it all at the bottom of colum F
instead of an ajacent column...but thanks for the reply. Does this make any
sense?
 
S

Sheeloo

You can enter this in any cell outside the range in the formula

=5*SUMPRODUCT(--(F1:F100="Y"))

It will count the number of cells in the range F1:F100 having an Y and
multiply the count by 5...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top