Scratching my head

jarhead58

Active Member
Joined
Sep 21, 2017
Messages
367
Office Version
  1. 2021
Platform
  1. Windows
Scenario: [TABLE="width: 238"]
<tbody>[TR]
[TD="align: right"]B2:B5
39[/TD]
[TD="align: right"]
48[/TD]
[TD="align: right"]
53[/TD]
[TD="align: right"]
67[/TD]
[TD="align: right"]
68
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[/TR]
</tbody>[/TABLE]

L53:P53
12 14 20 39 40

Why wouldn't this formula give back a "TRUE" value? I did do the Ctrl-Shift-Enter for the formula.

=INDEX(B2:F5,MATCH(B2:B5,L53:P53,0),"TRUE","FALSE")

TIA
 
=or(sumproduct(countif(b2:f2,l53:p53))>2,and(sumproduct(countif(b2:f2,l53:p53))>1,g2=g53))
 
Upvote 0

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
=or(sumproduct(countif(b2:f2,l53:p53))>2,and(sumproduct(countif(b2:f2,l53:p53))>1,g2=g53))

Thanks for the reply! I will give this a shot.

On another note, I thought this would be fairly simple but evidently not! I have a cell that either will get an "NA" result or a dollar amount based on the existing formula. What I want to do is just shift the "NA" value to the right in all of the cells that contain "NA".

Getting a circular reference error with this:

=IF(G8="","NA",G8*0.65)*(RIGHT(L8:L9827,2))
TIA
 
Upvote 0
I'm thinking that you don't quite understand what the RIGHT function does. It returns x # of characters from a cell, it doesn't position text in a cell at all.

For example if A1 contained ABCDEF
and you used this formula =RIGHT(A1,2) it would return EF

Just click on the right justification button on the Home tab to position all values in your formula to the right.
 
Upvote 0
I'm thinking that you don't quite understand what the RIGHT function does. It returns x # of characters from a cell, it doesn't position text in a cell at all.

For example if A1 contained ABCDEF
and you used this formula =RIGHT(A1,2) it would return EF

Just click on the right justification button on the Home tab to position all values in your formula to the right.

Ah, looking at it too literally lol! I only want the cells with the "NA" to position right though, not the ones with the dollar amounts! They are in the same column by the btw. Is it possible?
 
Upvote 0
Custom format (Number Format) the cell as:
General;-General;0;* @
 
Last edited:
Upvote 0
Something like this. It's just the accounting format with the change to the text format at the end.

_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);* @
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,187
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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