Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-15-2016, 10:27 AM
riothecat riothecat is offline Wanting to get data from one cell and and add the data from corresponding cell Windows 10 Wanting to get data from one cell and and add the data from corresponding cell Office 2007
Novice
Wanting to get data from one cell and and add the data from corresponding cell
 
Join Date: Nov 2016
Posts: 27
riothecat is on a distinguished road
Default Wanting to get data from one cell and and add the data from corresponding cell


I would like excel to find numbers in a range of cells. and then gather data from cells in the same row and add them up.

e.g.
cells b1 through b 15 contain a number example 1 2 3 2 5 3 4 2 6 3 4 1

cells c1 through c15 contain a currency number 2.45, 4.36, 3,21, 4.34 8.62 so forth and so on.

I need a function the takes the number in b1 through b 15 snd then look at the info in c1 through c15 and add the numbers in c1 through c15 for each corresponding cell in b1 through b15

b2 = 2and c2 = 4.36
b4 = 2 and c4 = 4.34

the output in another cell should be 8.70

is this possible?
sorry its so long but the best way to describe it, I tried...
Reply With Quote
  #2  
Old 11-15-2016, 11:36 AM
xor xor is offline Wanting to get data from one cell and and add the data from corresponding cell Windows 10 Wanting to get data from one cell and and add the data from corresponding cell Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,102
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

=sumif(b1:b15,2,c1:c15)
Reply With Quote
  #3  
Old 11-15-2016, 12:15 PM
riothecat riothecat is offline Wanting to get data from one cell and and add the data from corresponding cell Windows 10 Wanting to get data from one cell and and add the data from corresponding cell Office 2007
Novice
Wanting to get data from one cell and and add the data from corresponding cell
 
Join Date: Nov 2016
Posts: 27
riothecat is on a distinguished road
Talking

Perfect. Thanks many times over
Reply With Quote
  #4  
Old 11-17-2016, 11:37 AM
riothecat riothecat is offline Wanting to get data from one cell and and add the data from corresponding cell Windows 10 Wanting to get data from one cell and and add the data from corresponding cell Office 2007
Novice
Wanting to get data from one cell and and add the data from corresponding cell
 
Join Date: Nov 2016
Posts: 27
riothecat is on a distinguished road
Default follow up question

I am wanting to take this across 2 columns e1 to f 25> it doesn't return anything when I do this. is this possible?
Reply With Quote
  #5  
Old 11-17-2016, 11:58 AM
xor xor is offline Wanting to get data from one cell and and add the data from corresponding cell Windows 10 Wanting to get data from one cell and and add the data from corresponding cell Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,102
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

If you want to sum values in G1:G25 where E1:E25 and F1:F25 = 2 then:

=SUMIFS(G1:G25,E1:E25,2,F1:F25,2) or

=SUMPRODUCT((E1:E25=2)*(F1:F25=2)*(G1:G25))

Instead of hard coding 2 in the formulas you can of course refer to a cell and then put 2 or another number in that cell.
Reply With Quote
  #6  
Old 11-17-2016, 02:49 PM
riothecat riothecat is offline Wanting to get data from one cell and and add the data from corresponding cell Windows 10 Wanting to get data from one cell and and add the data from corresponding cell Office 2007
Novice
Wanting to get data from one cell and and add the data from corresponding cell
 
Join Date: Nov 2016
Posts: 27
riothecat is on a distinguished road
Default

A1 B1 C1 D1
25.00 0.00 CASH 72.00
32.00 0.00 CASH
00 15.00 CASH

column a is one departments account
column b is another departments account
column c is the method of payment
and I would like column d to add only cash payments but ONLY in one cell. There will be other forms of payments but I would like excel to only find cash payments.
the other 2 (after editing to my actual cells) produced a zero. and I did put quotes around the CASH

Thanks in advance
Reply With Quote
  #7  
Old 11-17-2016, 09:16 PM
xor xor is offline Wanting to get data from one cell and and add the data from corresponding cell Windows 10 Wanting to get data from one cell and and add the data from corresponding cell Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,102
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Maybe like the attached.
Attached Files
File Type: xlsx Cash_Payments.xlsx (10.8 KB, 9 views)
Reply With Quote
  #8  
Old 11-18-2016, 06:45 AM
riothecat riothecat is offline Wanting to get data from one cell and and add the data from corresponding cell Windows 10 Wanting to get data from one cell and and add the data from corresponding cell Office 2007
Novice
Wanting to get data from one cell and and add the data from corresponding cell
 
Join Date: Nov 2016
Posts: 27
riothecat is on a distinguished road
Default

See the attached in the second page or book. Thanks.
Attached Files
File Type: xlsx Cash_Payments.xlsx (13.1 KB, 10 views)
Reply With Quote
  #9  
Old 11-18-2016, 07:09 AM
xor xor is offline Wanting to get data from one cell and and add the data from corresponding cell Windows 10 Wanting to get data from one cell and and add the data from corresponding cell Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,102
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Still another trial.
Attached Files
File Type: xlsx Cash_Payments_2.xlsx (14.3 KB, 10 views)
Reply With Quote
  #10  
Old 11-18-2016, 07:30 AM
riothecat riothecat is offline Wanting to get data from one cell and and add the data from corresponding cell Windows 10 Wanting to get data from one cell and and add the data from corresponding cell Office 2007
Novice
Wanting to get data from one cell and and add the data from corresponding cell
 
Join Date: Nov 2016
Posts: 27
riothecat is on a distinguished road
Smile

That Works. I did want across 2 columns, but I can adjust my input to eliminate that. I had something similar to that I just didn't have the dollar signs. AND I never would have figure that out. This is the best forum ever. I hope my challenges are not to tiring. Thanks so much
Reply With Quote
  #11  
Old 11-18-2016, 07:47 AM
xor xor is offline Wanting to get data from one cell and and add the data from corresponding cell Windows 10 Wanting to get data from one cell and and add the data from corresponding cell Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,102
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Across two columns (even if I don't understand the rationale).
Attached Files
File Type: xlsx Cash_Payments_3.xlsx (14.7 KB, 8 views)

Last edited by xor; 11-18-2016 at 09:52 AM.
Reply With Quote
  #12  
Old 11-19-2016, 09:38 AM
riothecat riothecat is offline Wanting to get data from one cell and and add the data from corresponding cell Windows 10 Wanting to get data from one cell and and add the data from corresponding cell Office 2007
Novice
Wanting to get data from one cell and and add the data from corresponding cell
 
Join Date: Nov 2016
Posts: 27
riothecat is on a distinguished road
Default

Thank you. I appreciate your help. Sometimes I don't get the cash payment in the same fiscal time period and have to carry it over to another time period. So I would have billed and collected and billed not collected and the next period collected but already billed. Like accounts receivable. Your help is very appreciated
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Move the data at bottom cell to right side of the cell kcyag91 Excel 1 01-28-2016 12:28 AM
Data validation,force cell to be filed with number if respective cell is not empty nicholes Excel Programming 0 08-01-2015 09:08 AM
How to replicate, consolidate and count cell data in excel for data consoldation. Loran Excel 7 06-05-2014 01:07 AM
Copying data from one cell to another where condition is third cell fairyca Excel 4 03-30-2014 08:22 AM
How to populate cells in Sheet2 with Data Source query using cell data from Sheet1 bobznkazoo Excel 2 03-27-2014 11:14 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:29 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft