Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1,726
Default CONDITIONAL FORMULA & COUNT & MATCH

I think that you didn't adjust the line number. Try

=(IF($E20,"CAD",IF($F20,"USD",IF(ISNUMBER(MATCH( $A2,$A$1:$A1,0)),INDEX($D$1:$D1,MATCH($A2,$A$1:$A1 ,0)),"NOD"))))

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"SSJ" wrote in message ...
Bob,

Thanks for the response.

Based on your formula from yesterday, =(IF($E30,"CAD",IF($F30,"USD",IF(ISNUMBER(MATCH( $A3,$A$2:$A2,0)),INDEX($D$2:$D2,MATCH($A3,$A$2:$A2 ,0)),"NOD")))) , following is the outcome, which did not come out correct.

I shortned the category text to CAD, USD & NOD to make it easy for now.

CUSTOMER WORK ORDER# INVOICE # CATEGORY CAD SALES USD SALES USD FX COST OF SALES
ABC 29775 300 USD 100
EFG 25000 320 NOD 200 20
XYZ 26000 NOD 20
PQR 30000 USD
ABC 29775 NOD 40
EFG 27000 USD 150
ABC 29800 NOD 40


SJ
"Bob Phillips" wrote in message ...
How about this

=(IF($E30,"Customer billed in CAD",IF($F30,"Customer billed in USD",
IF(ISNUMBER(MATCH($A3,$A$2:$A2,0)),INDEX($D$2:$D2, MATCH($A3,$A$2:$A2,0)),"Customer not billed"))))

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)



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
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
Conditional Formatting Against a Formula - not it's result Mike The Newb Excel Discussion (Misc queries) 3 August 10th 06 10:33 PM
need a conditional formula to generate numbers divisible by 4 between a given starting no. & end No. ramana Excel Worksheet Functions 5 October 21st 05 07:39 AM
Conditional formatting...cont. from 9/25 Guenzak Excel Discussion (Misc queries) 4 September 26th 05 10:55 PM
Formula Dependant Conditional Formatting LDanix Excel Discussion (Misc queries) 1 January 13th 05 06:50 PM


All times are GMT +1. The time now is 12:57 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"