Sumif with data validations for Google Sheets

YupImHere

New Member
Joined
Feb 24, 2023
Messages
5
Office Version
  1. 2013
Platform
  1. Windows
I have tried all that I could find on this site. What I am trying to do is Sumif the colums:
Column E,Owner, uses dropdown
Coumn F is the the amount paid: =IF(E20="Ian","$.50","")
Column G,Payment,I want to total all of Column F:
I have: =sumproduct(sumif($E2:$E49,"-ian",$F2:$F49))
also have tried: =sumif(E2:E49,"Ian",F2:F49)
All i ever return are 0, column G is what i need help with

1709736151603.png
 
Last edited by a moderator:

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Is this for Excel or Google sheets?
The reason you get 0 is the values in col F are text & not numbers.
 
Upvote 0
The cell format is irrelevant, the actual value is text as the formula is returning text.
You would need to use
Excel Formula:
=IF(E20="Ian",0.50,"")
 
Upvote 0
Solution
The cell format is irrelevant, the actual value is text as the formula is returning text.
You would need to use
Excel Formula:
=IF(E20="Ian",0.50,"")
I cant believe how silly i feel I didnt see this. Thank you so much! Works just how I wnated it to!!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,187
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top