#1   Report Post  
Dee
 
Posts: n/a
Default Sumif

I have a spreadsheet where I have columns called Shipment 1, Shipment 2 up
to Shipment 5. The shipments come in 1 mg vials or 10 mg vials. I placed
columns next to each shipment column named €œ1 mg€ and €œ10 mg€. I put a
checkbox in each cell and linked it to the cell. So if the shipment contained
1 mg vials I would click that, if the shipment contained 10 mg. vials, I
would check that. I then have a column that says €œTotal Shipments-1 mg€ and
€œTotal Shipments €“ 10 mg€. How do I get excel to add the 1 mg shipments and
the 10 mg. shipments separately in their columns. For example, excel will add
only the shipments that the check box is checked in the 1 mg. column to the
Total Shipments €“ 1 mg column. There are other columns in between these
columns, such as ship date, Lot# and retest date.

I dont know if I am explaining myself properly, but thanks for any help.

Best regards,

Dee
  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Assume column B has the checkboxes for 1 mg vials and column C has the
checkboxes for 10 mg vials.

Since you said:

I put a checkbox in each cell and linked it to the cell.


To count all the checboxes that are check in column B for 1 mg vials:

=COUNTIF(B:B,TRUE)

Do the same for column C and the 10 mg vials.

Biff

"Dee" wrote in message
...
I have a spreadsheet where I have columns called Shipment 1, Shipment 2 up
to Shipment 5. The shipments come in 1 mg vials or 10 mg vials. I placed
columns next to each shipment column named "1 mg" and "10 mg". I put a
checkbox in each cell and linked it to the cell. So if the shipment
contained
1 mg vials I would click that, if the shipment contained 10 mg. vials, I
would check that. I then have a column that says "Total Shipments-1 mg"
and
"Total Shipments - 10 mg". How do I get excel to add the 1 mg shipments
and
the 10 mg. shipments separately in their columns. For example, excel will
add
only the shipments that the check box is checked in the 1 mg. column to
the
Total Shipments - 1 mg column. There are other columns in between these
columns, such as ship date, Lot# and retest date.

I don't know if I am explaining myself properly, but thanks for any help.

Best regards,

Dee



Reply
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use SUMIF to return sums between two values located in cells ScottBerger Excel Worksheet Functions 2 April 23rd 23 09:05 PM
How do I use the sumif if I have multiple criteria (i.e. greater . Kellyatisl Excel Worksheet Functions 3 June 4th 06 06:33 AM
SUMIF with Mutiple Ranges & Criteria PokerZan Excel Discussion (Misc queries) 5 August 4th 05 10:31 PM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM
SUM(IF( Array to avoid #NUM! values Elijah Excel Worksheet Functions 7 November 21st 04 02:17 PM


All times are GMT +1. The time now is 09:52 AM.

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"