This may be too easy but I'm just sort of teaching myself excell and I can't figure this out. I have bill amounts in column B and the date that bill is paid in column G so I have a cell that I want to total just the column B amounts where G has the date filled in.

So if there is a date in G then include B of that row in this total. Does someone know how to write that formula?