Not calculating

Patcheen

Active Member
Joined
Sep 28, 2015
Messages
388
Office Version
  1. 365
Platform
  1. Windows
I have 2 columns 1 relies on the other to calculate

in column 1 M2:m10 formatted as general has the formula =IF(AND(L2="home",F2="Yc"),"1","")

in column Q2:Q10 formatted also as general is this formula =SUMPRODUCT(--(B$2:B2&E$2:E2=B2&E2)*(F2="YC")*(L2="Home"),M$2:M2)

my problem is if i type the number 1 manually into Column M then Column Q will calculate but not otherwise.
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
without your data it is hard to figure out if any suggested solution will be sufficient.
This is my attempt at editing your formula:

Excel Formula:
=SUMPRODUCT(--(B$2:B2=B2)*(E$2:E2=E2)*(F2="YC")*(L2="Home")*(M$2:M2))

Please use the xl2bb add in to post a mini worksheet.
 
Upvote 0
post your data. Sanitize it if you need to.
 
Upvote 0
I have 2 columns 1 relies on the other to calculate

in column 1 M2:m10 formatted as general has the formula =IF(AND(L2="home",F2="Yc"),"1","")

in column Q2:Q10 formatted also as general is this formula =SUMPRODUCT(--(B$2:B2&E$2:E2=B2&E2)*(F2="YC")*(L2="Home"),M$2:M2)

my problem is if i type the number 1 manually into Column M then Column Q will calculate but not otherwise.
It might be because your first formula is entering "1" as a text value instead of a number. Try this:

Excel Formula:
=IF(AND(L2="home",F2="Yc"),1,"")
 
Upvote 0
Solution
Thank you this fixed it thank you so much for your help and to Awoohaw for his suggestion also. Thank you to the both of you
It might be because your first formula is entering "1" as a text value instead of a number. Try this:

Excel Formula:
=IF(AND(L2="home",F2="Yc
[/QUOTE]
 
Upvote 0

Forum statistics

Threads
1,215,475
Messages
6,125,028
Members
449,205
Latest member
Eggy66

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top