Help with Match syntax in formula

D-Spark

Board Regular
Joined
Sep 27, 2007
Messages
182
I have the following formula:

=SUMPRODUCT(--(LEFT(May08WFA!$A$1:$A$4000,2)="x-"),--(ISERROR(MATCH(May08WFA!$A$1:$A$4000,Apr08WFA!$A$1:$A$4000,0)=TRUE)))


I want to amend the part of the formula “(LEFT(May08WFA!$A$1:$A$4000,2)="x-")” to now look at column B range 1:4000 on the same sheet and isolate only values that do not contain a comma in the text.

LEFT function not needed for this part.

Then Is Error (Match B1:B4000) between the two sheet
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
you would need to add an additional clause to exclude blanks

-(ISERROR(FIND(",",May08WFA!$B$1:$B$4000))=TRUE),--(ISBLANK(May08WFA!$B$1:$B$4000)=FALSE)
 
Upvote 0
please keep issue within thread -- post up issues with the solution(s) provided thus far.
 
Upvote 0
Can I upload the worksheet in question, as the solution is not returning expect values - If so How?
 
Upvote 0
reading your post thus far the below formula does what you requested does it not ?

=SUMPRODUCT(--(ISERROR(FIND(",",May08WFA!$B$1:$B$4000))=TRUE),--(ISBLANK(May08WFA!$B$1:$B$4000)=FALSE),
--(ISERROR(MATCH(May08WFA!$A$1:$A$4000,Apr08WFA!$A$1:$A$4000,0)=TRUE)))

Finds non-blank entries in B range that do not contain a comma that are also unique to that sheet.
 
Upvote 0
I am getting "-1" in the cell containing the formula when the expected outturn should be +1, ie one new unique entry on sheet May08WFA where this entry was no within Apr08WFA

Formula:

=SUMPRODUCT(-(ISERROR(FIND(",",May08WFA!$B$2:$B$3))=TRUE),--(ISBLANK(May08WFA!$B$2:$B$3)=FALSE),--(ISERROR(MATCH(May08WFA!$B$2:$B$3,Apr08WFA!$B$2:$B$3,0)=TRUE)))


Only change is that I I have reduced the range
 
Upvote 0
OK - can you tell us what you entries you have in B2:B3 on both Apr08WFA and May08WFA sheets so we can replicate ?
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,692
Members
448,979
Latest member
DET4492

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