• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

get select data

rahulshewale1

Active Member
Dear sir,

Please find the attached sheet.data sheet has big data of receipe .i want get receipe data only yellow colour is hightlight only.



Thanks
Rahul shewale
 

Attachments

  • CHANDOO.ORG.xls
    48 KB · Views: 5
Dear sir,

Please find the attached sheet.data sheet has big data of receipe .i want get receipe data only yellow colour is hightlight only.



Thanks
Rahul shewale
Hi Rahul

For that you can use conditional formatting, taking advantage of the fact that the cell below the recipe name always has the word "Ingredient" (or, to be precise, Ingredient + some spaces)

Add conditional formatting to cell "A1" using the following formula:
Code:
=$A2="Ingredient              "

Then copy formats and apply to the desired range... in this case "A1:A139" (or the entire column "A").

Hope it helps
 
hii ,

thanks for reply,but i want get data of particuller recipe name only please see "data sheet" and "Requirement like this sheet".i hope it will clear.

Thanks
Rahul shewale
 

Attachments

  • CHANDOO.ORG.xls
    52.5 KB · Views: 2
Try,

1] "DATA SHEET" Sheet, Helper column F2, formula copy down :

=IF((COUNTIF('REQ RECEIP NAME'!A$2:A$110,A2)>0)*(B3="Unit Price"),1,IF((F1=1)*(COUNTIF('REQ RECEIP NAME'!A$2:A$110,A2)=0)*(B3<>"Unit Price"),1,0))

2] "REQUIREMENT LIKE THIS" sheet, F1, formula copy across and down :

=IFERROR(INDEX('DATA SHEET'!$A$2:$D$139,AGGREGATE(15,6,(ROW('DATA SHEET'!$A$2:$D$139)-ROW('DATA SHEET'!$A$2)+1)/('DATA SHEET'!$F$2:$F$139=1),ROWS($1:1)),COLUMNS($A:A)),"")

Regards
Bosco
 

Attachments

  • GetSelectData.xlsx
    30.9 KB · Views: 4
Hi:

This is another cheeky way of doing it. I have used indirect formula to achieve this, select the drop down on cell J2 it will pull values from data sheet.

Thanks
 

Attachments

  • CHANDOO.ORG.xls
    57 KB · Views: 6
thanks you very much bosco sir......
Further improvement of formula.

Changed the 1st helper cell formula resulted from 1/0 into Serial no. 1,2,3… and the 2nd formula can be simplified.

1] "DATA SHEET" Sheet, Helper column F2, formula copy down :

=IF((COUNTIF('REQ RECEIP NAME'!A$2:A$110,A2)>0)*(B3="Unit Price"),MAX(F$1:F1)+1,IF((F1>0)*(COUNTIF('REQ RECEIP NAME'!A$2:A$110,A2)=0)*(B3<>"Unit Price"),MAX(F$1:F1)+1,0))

2] "REQUIREMENT LIKE THIS" sheet, F1, formula copy across and down :
=IFERROR(INDEX('DATA SHEET'!$A$2:$D$139,MATCH(ROWS($1:1),'DATA SHEET'!$F$2:$F$139,0),COLUMNS($A:A)),"")

Edit : By compare with the above 2 files memory used 57.00KB and 31.70KB,
it is noted that through the formula improvement, around 44.40% memory was saved.

Regards
Bosco
 

Attachments

  • GetSelectData(1).xlsx
    31.7 KB · Views: 4
Last edited:
Back
Top