If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > If and function

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-08-05, 16:47
rjs rjs is offline
Registered User
 
Join Date: Nov 2005
Posts: 3
If and function

I want to add column J which are values based on the following:

ColumnB has certain text and ColumnE has certain text.

Please help

Thanks
Reply With Quote
  #2 (permalink)  
Old 11-09-05, 09:33
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
Howdy, and welcome to the board.

When you say "join", do you want a space between them?

For instance in J2, put this formula:

=B2&E2 (without space)

=B2&" "&E2 (with space)

Copy/Fill down column J as needed.
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
  #3 (permalink)  
Old 11-09-05, 13:32
rjs rjs is offline
Registered User
 
Join Date: Nov 2005
Posts: 3
If and functions

Thanks for your post but i think i didn't post clearly


ColumnB CoulmnC ColumnJ

PA Paid 100
PA Open 50
NJ Paid 50
PA Paid 75


I want to add the values in Column J that have the conditions that in Column B say PA AND Column C say Paid

Thanks for your help if you can help!!
Reply With Quote
  #4 (permalink)  
Old 11-09-05, 15:16
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
Okay, with one condition you could use SUMIF, but with two conditions, you need SUMPRODUCT.

=SUMPRODUCT(($B$1:$B$100="PA")*($C$1:$C$100="Paid" ),--($J$1:$J$100))
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
  #5 (permalink)  
Old 11-10-05, 08:25
rjs rjs is offline
Registered User
 
Join Date: Nov 2005
Posts: 3
Thumbs up If and functions

Thanks that worked great!!!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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