0

I created a list of items Data Validation in a sheet corresponding to time-frequency:

weekly,monthly,annually

I want to multiply values in a numeric column with the corresponding weekly values to get a normalized annual cost so weekly would be 52x, monthly 12x.

It's just three columns: one numerical, one with drop down of 3 possible text values (weekly, etc) and a final numerical (annual total). If I choose weekly from the drop down, I want the value in the first column to be multiplied by 52 and the result stored in the 3rd total column.

How do I accomplish this in Google Sheets?

  • It's got private data. What do you want from it? – user1561108 Jan 11 at 21:12
  • It's just three columns: one numerical, one with drop down of 3 possible text values (weekly, etc) and a final numerical (annual total). If I choose weekly from the drop down, I want the value in the first column to be multiplied by 52 and the result stored in the 3rd total column. – user1561108 Jan 11 at 21:21
0

=ARRAYFORMULA(IF(B1:B="weekly";   A1:A*52;
              IF(B1:B="monthly";  A1:A*12;
              IF(B1:B="annually"; A1:A*1; ))))

enter image description here

1

=IF(B1="weekly";   A1*52;
 IF(B1="monthly";  A1*12;
 IF(B1="annually"; A1*1; )))

6

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.