Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default IF Then

if I am reading what you want correctly and Tab 1 and Tab 2 are different
sheets

=sumif('Tab 1"!A:A,"Name 1",'Tab 1'!C:C)+sumif('Tab 2"!A:A,"Name 1",'Tab
2'!D:D)+sumif('Tab 1"!A:A,"Name 2",'Tab 1'!C:C)+sumif('Tab 2"!A:A,"Name
2",'Tab 2'!D:D)

if you want the C and D columns form the same shet as the equation is in then

=sumif('Tab 1"!A:A,"Name 1",C:C)+sumif('Tab 2"!A:A,"Name 1",D:D)+sumif('Tab
1"!A:A,"Name 2",C:C)+sumif('Tab 2"!A:A,"Name 2",!D:D)


"Rick Champ" wrote:

I'm trying to create a formula that would look in a column of another tab for
one of two last names and if it equaled a name then it would look in another
column for a dollar amount and add it to the cell. For example; If Tab 1
column A equals Champ then add column C and if Tab 2 column A equals Champ
then add column D. Thanks for your help in advance.
--
Respectfully,
Rick Champ



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"